add initial demo app

This commit is contained in:
horsefacts
2024-11-23 23:19:40 -05:00
committed by lucas-neynar
parent 5143ab4ce4
commit 33eea440b3
22 changed files with 5723 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
children: React.ReactNode;
}
export function Button({ children, className = "", ...props }: ButtonProps) {
return (
<button
className={`w-full max-w-xs mx-auto block bg-[#7C65C1] text-white py-3 px-6 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:bg-[#7C65C1] hover:bg-[#6952A3] ${className}`}
{...props}
>
{children}
</button>
);
}