Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit f45eea1

Browse files
committed
docs(readme): updated
1 parent 660a4ed commit f45eea1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
All types are property(camelCase): String | Number.
1414
The compiler assigns px to number unless there is an exception.
1515

16-
In development mode with we can see hot reloading preview by adding 'use client'.
17-
⚠︎ can't write directly to a tsx file.
16+
The className property and style are converted to an underscore with a hash as className.
17+
This can be written directly to a css.ts or css.tsx file.
1818

19-
The className property and style are converted to an underscore with a hash as className.
19+
In development mode with we can see hot reloading preview by adding 'use client'.
2020

2121
## Style.create and Style.set
2222

@@ -116,7 +116,7 @@ media is a higher-order function, so you can directly create wrapper functions f
116116
add file extension in tsconfig.json
117117

118118
```json
119-
"include": ["**/*.css.ts"]
119+
"include": ["**/*.css.ts", "**/*.css.tsx"]
120120
```
121121

122122
add package.json scripts field.

0 commit comments

Comments
 (0)