Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@devries-cameron20
/
t3code-1
Fork
0
The best way to control Claude Code, Codex and more from any computer or phone
t3code-1
/
.repos
/
alchemy-effect
/
examples
/
railway-website-vocs
/
src
/
components
/
Counter.tsx
Code
Commits
Issues
Pulls
Cloud Agent
CICD
main
main
tsx
12 lines
246 Bytes
Copy permalink
Copy
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
onClick
=
{
()
=>
setCount
((
value
)
=>
value
+
1
)
}
type
=
"button"
>
9
count:
{
count
}
10
</
button
>
11
);
12
}