Files
pepperplus-ui/src/components/components.tsx
Twirre Meulenbelt 46cc5a087d feat: basic home page
Created a basic home page with links, a header with a link to home, some basic reusable CSS classes.

ref: N25B-38
2025-10-08 15:03:44 +02:00

17 lines
375 B
TypeScript

import { useState } from 'react'
function Counter() {
const [count, setCount] = useState(0)
return (
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<button className='reset' onClick={() => setCount(0)}>
Reset Counter
</button>
</div>
)
}
export default Counter