chore: release new examples (#2557)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@fresh/examples",
|
"name": "@fresh/examples",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"exports": {
|
"exports": {
|
||||||
"./island": "./src/island.tsx",
|
"./island": "./src/island.tsx",
|
||||||
"./app1": "./src/app1.tsx",
|
"./app1": "./src/app1.tsx",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { useSignal } from "@preact/signals";
|
import { useSignal } from "@preact/signals";
|
||||||
import type { JSX } from "preact";
|
import type { JSX } from "preact";
|
||||||
|
|
||||||
export default function DemoIsland(): JSX.Element {
|
export function DemoIsland(): JSX.Element {
|
||||||
const count = useSignal(0);
|
const count = useSignal(0);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user