import { type ButtonHTMLAttributes } from 'react';
type Variant = 'primary' | 'secondary' | 'ghost';
interface ButtonProps extends ButtonHTMLAttributes {
variant?: Variant;
isLoading?: boolean;
}
const VARIANT_CLASSES: Record = {
primary: 'bg-blue-600 text-white hover:bg-blue-500 disabled:bg-blue-800 disabled:text-blue-400',
secondary: 'bg-gray-700 text-gray-200 hover:bg-gray-600 disabled:opacity-50',
ghost: 'bg-transparent text-blue-400 hover:bg-gray-700 disabled:opacity-50',
};
export function Button({
variant = 'primary',
isLoading = false,
disabled,
children,
className = '',
...props
}: ButtonProps) {
return (
);
}