attrs-in-props 2.10.77 → 2.10.120
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.
- package/package.json +2 -2
- package/README.md +0 -22
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"name": "attrs-in-props",
|
|
3
3
|
"description": "Utilize props as attributes",
|
|
4
4
|
"author": "symbo.ls",
|
|
5
|
-
"version": "2.10.
|
|
5
|
+
"version": "2.10.120",
|
|
6
6
|
"repository": "https://github.com/symbo-ls/smbls",
|
|
7
7
|
"main": "index.js",
|
|
8
|
-
"gitHead": "
|
|
8
|
+
"gitHead": "6855dfed4db71595cba43e5ceb414765cf35b99f"
|
|
9
9
|
}
|
package/README.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# css-in-props
|
|
2
|
-
|
|
3
|
-
UI Library in composition of [Scratch](https://github.com/smbo-ls/scratch) and [DOMQL](https://github.com/domql/domql)
|
|
4
|
-
|
|
5
|
-
[](https://badge.fury.io/js/css-in-props)
|
|
6
|
-
|
|
7
|
-
### Setup
|
|
8
|
-
|
|
9
|
-
1. Installation
|
|
10
|
-
```
|
|
11
|
-
yarn add css-in-props
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
2. Import the component from Symbols
|
|
15
|
-
```
|
|
16
|
-
import { setClassname } from 'css-in-props'
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
3. Use it inside your DOMQL code
|
|
20
|
-
```
|
|
21
|
-
const Box = ({ children, ...props }) => <div className={setClassname(props)}>{children}</div>
|
|
22
|
-
```
|