import { type ButtonHTMLAttributes, forwardRef } from "react" import { cn } from "@/lib/utils" type ButtonVariant = "primary" | "secondary" | "outline" | "ghost" type ButtonSize = "sm" | "md" | "lg" interface FormButtonProps extends ButtonHTMLAttributes { variant?: ButtonVariant size?: ButtonSize } const variantStyles: Record = { primary: "bg-primary text-primary-foreground hover:opacity-90 shadow-sm", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80", outline: "border border-border bg-card text-foreground hover:bg-secondary", ghost: "text-foreground hover:bg-secondary", } const sizeStyles: Record = { sm: "px-3 py-1.5 text-sm rounded-md", md: "px-4 py-2.5 text-sm rounded-lg", lg: "px-6 py-3 text-base rounded-lg", } export const FormButton = forwardRef( ({ variant = "primary", size = "md", className, children, ...props }, ref) => { return ( ) } ) FormButton.displayName = "FormButton"