@devries-cameron20 / t3code Mirror · read-only
Fork 0

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, 07:15 UTC

main
tsx 12 lines 268 Bytes
Raw
1 "use client";
2
3 import { useState } from "react";
4
5 export function Counter() {
6 const [count, setCount] = useState(0);
7 return (
8 <button data-testid="counter" onClick={() => setCount((value) => value + 1)} type="button">
9 count: {count}
10 </button>
11 );
12 }