import React from 'react'; type ButtonProps = React.ButtonHTMLAttributes & { variant?: 'primary' | 'outline' | 'ghost' | 'primary-ghost'; size?: 'default' | 'sm' | 'lg'; children: React.ReactNode; }; const Button = React.forwardRef( ({ variant = 'primary', size = 'default', children, className, ...props }, ref) => { const baseClasses = 'inline-flex items-center justify-center rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none transform hover:scale-102 active:scale-98'; const variantClasses = { primary: 'bg-primary text-primary-foreground hover:bg-primary/90 shadow', outline: 'border bg-background hover:bg-accent hover:text-accent-foreground', ghost: 'hover:bg-accent hover:text-accent-foreground', 'primary-ghost': 'border border-primary/40 bg-primary/10 text-primary hover:bg-primary/15', }; const sizeClasses = { default: 'h-10 py-2 px-4', sm: 'h-9 px-3', lg: 'h-12 rounded-lg px-6 text-base', }; return ( ); } ); Button.displayName = 'Button'; export default Button;