@plumeria/react 22.3.1 → 22.3.3
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/README.md +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ pnpm add -D @plumeria/react
|
|
|
10
10
|
|
|
11
11
|
`@plumeria/react` contains type definitions only. It needs `@plumeria/core` and a bundler integration — see the [installation guide](https://plumeria.dev/docs/installation).
|
|
12
12
|
|
|
13
|
+
A styled component compiles to JSX, so define it in a `.tsx` or `.jsx` file. Export it from there and import it anywhere.
|
|
14
|
+
|
|
13
15
|
## Example
|
|
14
16
|
|
|
15
17
|
Define a styled element at module scope and use it with the native element's props.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/react",
|
|
3
|
-
"version": "22.3.
|
|
3
|
+
"version": "22.3.3",
|
|
4
4
|
"description": "Styled components for Plumeria, compiled to the sx prop",
|
|
5
5
|
"author": "zss-labs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/react": "^19.3.0",
|
|
37
|
-
"@plumeria/core": "22.3.
|
|
37
|
+
"@plumeria/core": "22.3.3"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|