mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-23 20:04:27 +00:00
15 lines
286 B
TypeScript
15 lines
286 B
TypeScript
"use client";
|
|
|
|
import { Button } from "@nextui-org/react";
|
|
import { useState } from "react";
|
|
|
|
export const Counter = () => {
|
|
const [count, setCount] = useState(0);
|
|
|
|
return (
|
|
<Button radius="full" onPress={() => setCount(count + 1)}>
|
|
Count is {count}
|
|
</Button>
|
|
);
|
|
};
|