import type { ButtonHTMLAttributes } from "react"; import { cn } from "./utils"; type ButtonVariant = "primary" | "secondary" | "outline" | "ghost" | "danger"; export function Button({ className, variant = "primary", size = "default", ...props }: ButtonHTMLAttributes & { variant?: ButtonVariant; size?: "sm" | "default" | "icon" }) { return