import type { ButtonHTMLAttributes } from "react"; type ControlButtonVariant = "ghost" | "menu" | "primary"; interface ControlButtonProps extends ButtonHTMLAttributes { iconOnly?: boolean; variant?: ControlButtonVariant; } export function ControlButton({ className, iconOnly = false, type = "button", variant = "ghost", ...props }: ControlButtonProps) { return (