docs: fix Signal type typo (#1304)
This commit is contained in:
@@ -14,7 +14,7 @@ island. The file must have a default export that is a regular Preact component.
|
|||||||
```tsx
|
```tsx
|
||||||
// islands/MyIsland.tsx
|
// islands/MyIsland.tsx
|
||||||
|
|
||||||
import type { Signal } from "@preact/signals";
|
import { useSignal } from "@preact/signals";
|
||||||
|
|
||||||
export default function MyIsland() {
|
export default function MyIsland() {
|
||||||
const count = useSignal(0);
|
const count = useSignal(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user