import { forwardRef } from "react"; import { cn } from "#/utils/utils"; import { formControlButtonClassName } from "#/utils/form-control-classes"; interface BrandButtonProps { testId?: string; name?: string; variant: "primary" | "secondary" | "tertiary" | "danger" | "ghost-danger"; type: React.ButtonHTMLAttributes["type"]; isDisabled?: boolean; className?: string; onClick?: (event?: React.MouseEvent) => void; startContent?: React.ReactNode; /** Accessible label for icon-only buttons */ ariaLabel?: string; /** Indicates busy/loading state for screen readers */ "aria-busy"?: boolean; "aria-haspopup"?: React.AriaAttributes["aria-haspopup"]; "aria-expanded"?: boolean; } export const BrandButton = forwardRef< HTMLButtonElement, React.PropsWithChildren >(function BrandButton( { testId, name, children, variant, type, isDisabled, className, onClick, startContent, ariaLabel, "aria-busy": ariaBusy, "aria-haspopup": ariaHasPopup, "aria-expanded": ariaExpanded, }, ref, ) { return ( ); });