import { IconName } from '../Icon'; export type ButtonType = 'primary' | 'secondary' | 'empty' | 'danger'; export type Alignment = 'center' | 'left'; export interface ButtonProps extends React.HTMLAttributes { /** The visual style variant of the button */ type?: ButtonType; /** Used for native button type attribute */ htmlType?: React.ButtonHTMLAttributes['type']; disabled?: boolean; label?: string; iconLeft?: IconName; iconRight?: IconName; align?: Alignment; fillWidth?: boolean; loading?: boolean; autoFocus?: boolean; }