This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
web-client/components/counter.tsx
Seiwy ebbefc03d9
Some checks failed
/ docker (pull_request) Failing after 4m3s
Nuked the pervious files, but the NextUI works
2024-06-11 10:59:56 +02:00

15 lines
287 B
TypeScript

"use client";
import { useState } from "react";
import { Button } from "@nextui-org/button";
export const Counter = () => {
const [count, setCount] = useState(0);
return (
<Button radius="full" onPress={() => setCount(count + 1)}>
Count is {count}
</Button>
);
};