diff --git a/components/counters.tsx b/components/counters.tsx new file mode 100644 index 0000000..b78f12d --- /dev/null +++ b/components/counters.tsx @@ -0,0 +1,24 @@ +// Example from https://beta.reactjs.org/learn + +import { useState } from 'react' +import styles from './counters.module.css' + +function MyButton() { + const [count, setCount] = useState(0) + + function handleClick() { + setCount(count + 1) + } + + return ( +
+ +
+ ) +} + +export default function MyApp() { + return +}