@gtkx/native 0.3.1 → 0.3.2
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 +0 -3
- package/dist/index.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -64,7 +64,6 @@ npm install -D @types/react typescript
|
|
|
64
64
|
Create your first app:
|
|
65
65
|
|
|
66
66
|
```tsx
|
|
67
|
-
// src/app.tsx
|
|
68
67
|
import { useState } from "react";
|
|
69
68
|
import * as Gtk from "@gtkx/ffi/gtk";
|
|
70
69
|
import { ApplicationWindow, Box, Button, Label, quit } from "@gtkx/react";
|
|
@@ -98,7 +97,6 @@ export const appId = "org.example.MyApp";
|
|
|
98
97
|
```
|
|
99
98
|
|
|
100
99
|
```tsx
|
|
101
|
-
// src/index.tsx
|
|
102
100
|
import { render } from "@gtkx/react";
|
|
103
101
|
import App, { appId } from "./app.js";
|
|
104
102
|
|
|
@@ -147,7 +145,6 @@ import { cleanup, render, screen, userEvent, fireEvent } from "@gtkx/testing";
|
|
|
147
145
|
import { AccessibleRole } from "@gtkx/ffi/gtk";
|
|
148
146
|
import { App } from "./app.js";
|
|
149
147
|
|
|
150
|
-
// Clean up after each test
|
|
151
148
|
afterEach(async () => {
|
|
152
149
|
await cleanup();
|
|
153
150
|
});
|
package/dist/index.node
CHANGED
|
Binary file
|