The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 06:00 UTC
| 1 | import { createSignal } from "solid-js"; |
| 2 | // oxlint-disable-next-line import/no-unassigned-import |
| 3 | import "./Counter.css"; |
| 4 | |
| 5 | export default function Counter() { |
| 6 | const [count, setCount] = createSignal(0); |
| 7 | return ( |
| 8 | <button class="increment" onClick={() => setCount(count() + 1)} type="button"> |
| 9 | Clicks: {count()} |
| 10 | </button> |
| 11 | ); |
| 12 | } |