import * as React from "react"; import { cn } from "@/lib/utils"; function Button({ className, variant = "default", size = "default", ...props }: React.ComponentProps<"button"> & { variant?: "default" | "ghost" | "outline"; size?: "default" | "sm" | "icon"; }) { const variants: Record = { default: "bg-primary text-primary-foreground hover:bg-primary/90", ghost: "hover:bg-accent hover:text-accent-foreground", outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground", }; const sizes: Record = { default: "h-9 px-4 py-2", sm: "h-8 rounded-md px-3 text-xs", icon: "h-9 w-9", }; return (