Compare commits
2 Commits
dadeaf484b
...
8840dd1752
| Author | SHA1 | Date |
|---|---|---|
|
|
8840dd1752 | 2 years ago |
|
|
2590942529 | 2 years ago |
@ -1,14 +0,0 @@
|
|||||||
"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>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
Loading…
Reference in New Issue