import { ButtonHTMLAttributes, forwardRef } from 'react'; type Variant = 'primary' | 'secondary' | 'danger' | 'ghost'; interface ButtonProps extends ButtonHTMLAttributes { variant?: Variant; loading?: boolean; } const variantClasses: Record = { primary: 'bg-primary text-white hover:bg-primary-hover focus:ring-primary', secondary: 'bg-secondary text-white hover:bg-secondary/80 focus:ring-secondary', danger: 'bg-error text-white hover:bg-error/80 focus:ring-error', ghost: 'bg-transparent text-primary hover:bg-primary/10 focus:ring-primary', }; export const Button = forwardRef( ({ variant = 'primary', loading = false, children, className = '', disabled, ...props }, ref) => { return ( ); } ); Button.displayName = 'Button';