import { cn } from '@/lib/utils'; import { ButtonHTMLAttributes } from 'react'; type ButtonVariant = 'primary' | 'ghost' | 'danger-outline' | 'danger-solid'; type ButtonSize = 'sm' | 'md' | 'logout'; interface ButtonProps extends ButtonHTMLAttributes { variant?: ButtonVariant; size?: ButtonSize; } const variantClasses: Record = { primary: 'bg-btn-green border border-btn-green-hover text-white hover:bg-btn-green-hover', ghost: 'bg-transparent border border-border text-secondary hover:bg-overlay hover:text-primary', 'danger-outline': 'bg-transparent border border-border text-red hover:border-red/40 hover:bg-red-bg', 'danger-solid': 'bg-overlay border border-red/20 text-red hover:bg-red-bg' }; const sizeClasses: Record = { sm: 'px-3 py-1.5 text-xs', md: 'px-4 py-2 text-sm', logout: 'px-2 py-2 cursor-pointer hover:bg-red' }; export function Button({ variant = 'ghost', size = 'md', className, children, disabled, ...props }: ButtonProps) { return ( ); }