Describes props for the Icon Button component.
export interface LkIconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
icon: IconName;
variant?: "fill" | "outline" | "text";
// color?: string; // LkColor
color?: LkColorWithOnToken;
size?: LkIconButtonSize;
fontClass?: LkFontClass; //optional, if present it will control the size directly via fontClass
className?: string; //optional, making explicit here so we can control how it mixes in with locally-passed props
}
Types with similar roles.