@gtkx/native 0.1.29 → 0.1.30
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 +6 -6
- package/dist/index.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,16 +30,16 @@ GTKX bridges React's component model with GTK4's native widget system. Write fam
|
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
32
|
# Install dependencies
|
|
33
|
-
|
|
33
|
+
npm install @gtkx/react @gtkx/ffi react
|
|
34
34
|
|
|
35
35
|
# For TypeScript (recommended)
|
|
36
|
-
|
|
36
|
+
npm install -D @types/react tsx typescript
|
|
37
37
|
|
|
38
38
|
# For styling (optional)
|
|
39
|
-
|
|
39
|
+
npm install @gtkx/css
|
|
40
40
|
|
|
41
41
|
# For testing (optional)
|
|
42
|
-
|
|
42
|
+
npm install -D @gtkx/testing
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Create your first app:
|
|
@@ -83,7 +83,7 @@ export const App = () => {
|
|
|
83
83
|
Run with:
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
|
-
|
|
86
|
+
npx tsx index.tsx
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
## Styling
|
|
@@ -201,7 +201,7 @@ turbo start --filter=gtk4-demo
|
|
|
201
201
|
## Requirements
|
|
202
202
|
|
|
203
203
|
- Node.js 20+
|
|
204
|
-
- GTK4
|
|
204
|
+
- GTK4
|
|
205
205
|
- Linux (GTK4 is Linux-native)
|
|
206
206
|
|
|
207
207
|
## License
|
package/dist/index.node
CHANGED
|
Binary file
|