ziko-atropos 0.0.0 → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +24 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  > [!NOTE]
2
2
  > This project is part of the [ZikoJS](https://github.com/zakarialaoui10/ziko.js) ecosystem.
3
3
 
4
- # [Addon Title]
4
+ # ziko-atropos
5
5
 
6
6
  <!--
7
7
  Overview Or Description
@@ -10,8 +10,31 @@ Doc
10
10
 
11
11
  ## Install
12
12
 
13
+ ```bash
14
+ npm i ziko-atropos
15
+ ```
16
+
13
17
  ## Usage
14
18
 
19
+ ```js
20
+ import { Atropos } from 'ziko-atropos'
21
+ import { tags } from 'ziko/ui'
22
+
23
+ const a = Atropos(
24
+ tags.div().style({
25
+ width : '100%',
26
+ height : '100%',
27
+ background : 'blue'
28
+ })
29
+ ).style({
30
+ border : '2px darkblue dotted',
31
+ width : '400px',
32
+ height : '300px',
33
+ margin : '20px auto'
34
+ })
35
+ a.mount(document.body)
36
+ ```
37
+
15
38
  ## Features
16
39
 
17
40
  # ⭐️ Show your support
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ziko-atropos",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",