import { forwardRef, type ButtonHTMLAttributes } from "react"; import { cn } from "@/lib/utils"; export type ButtonVariant = "default" | "outline" | "ghost" | "secondary" | "destructive" | "link"; export type ButtonSize = "default" | "sm" | "lg" | "icon" | "icon-sm"; export interface ButtonProps extends ButtonHTMLAttributes { variant?: ButtonVariant; size?: ButtonSize; } export const Button = forwardRef( ({ className, variant = "default", size = "default", ...props }, ref) => (