import { forwardRef, type ButtonHTMLAttributes, type ReactNode } from 'react' import { clx } from '@/helpers/utils' type ButtonProps = { variant?: 'primary' | 'secondary' | 'outline' leftIcon?: ReactNode rightIcon?: ReactNode } & ButtonHTMLAttributes const variantClasses: Record, string> = { primary: 'bg-black text-white hover:bg-black/90', secondary: 'bg-white text-black border border-black hover:bg-black/5', outline: 'border border-black text-black hover:bg-black/5' } const Button = forwardRef((props, ref) => { const { children, className, variant = 'primary', leftIcon, rightIcon, ...rest } = props return ( ) }) Button.displayName = 'Button' export default Button