css-in-props 0.9.4 → 0.9.5

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 +2 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,12 +13,10 @@ yarn add css-in-props
13
13
 
14
14
  2. Import the component from Symbols
15
15
  ```
16
- import { transformClassname, transformEmotion } from 'css-in-props'
16
+ import { setClassname } from 'css-in-props'
17
17
  ```
18
18
 
19
19
  3. Use it inside your DOMQL code
20
20
  ```
21
- const Box = ({ children, ...props }) => <div className={
22
- transformEmotion(transformClassname(props))
23
- }>{children}</div>
21
+ const Box = ({ children, ...props }) => <div className={setClassname(props)}>{children}</div>
24
22
  ```
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Utilize props as CSS methods",
4
4
  "private": false,
5
5
  "author": "symbo.ls",
6
- "version": "0.9.4",
6
+ "version": "0.9.5",
7
7
  "repository": "https://github.com/symbo-ls/smbls",
8
8
  "main": "src/index.js",
9
9
  "files": [