diff options
Diffstat (limited to 'examples/framework-multiple/src/components/SolidCounter.tsx')
-rw-r--r-- | examples/framework-multiple/src/components/SolidCounter.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/framework-multiple/src/components/SolidCounter.tsx b/examples/framework-multiple/src/components/SolidCounter.tsx index b16a463d5..153feaddc 100644 --- a/examples/framework-multiple/src/components/SolidCounter.tsx +++ b/examples/framework-multiple/src/components/SolidCounter.tsx @@ -1,6 +1,8 @@ +/** @jsxImportSource solid-js */ + import { createSignal } from 'solid-js'; -/** a counter written with Solid */ +/** A counter written with Solid */ export default function SolidCounter({ children }) { const [count, setCount] = createSignal(0); const add = () => setCount(count() + 1); |