feat: implementation

This commit is contained in:
Riccardo
2024-05-07 21:52:38 +02:00
parent 734b590482
commit f752787605
26 changed files with 6365 additions and 1 deletions

13
components/Button.tsx Normal file
View File

@@ -0,0 +1,13 @@
interface ButtonProps {
label: string;
disabled?: boolean;
onClick: () => void;
}
export function Button({ onClick, disabled = false, label }: ButtonProps) {
return (
<button onClick={onClick} disabled={disabled} className='button'>
{label}
</button>
);
}