/// import { TColorMain, TColorShade } from '../../tokens/colors/color.type'; import { TAlphaIcon } from '../alphaIcon/alphaIcon.type'; export interface IButton extends React.HTMLAttributes { color?: TColorMain; shade?: TColorShade; icon?: TAlphaIcon; type?: 'button' | 'submit' | 'reset'; disabled?: boolean; outline?: boolean; flat?: boolean; size?: 'sm' | 'md' | 'lg'; iconOnly?: boolean; iconRight?: boolean; href?: string; as?: string; loading?: boolean; uppercase?: boolean; target?: '_self' | '_blank' | '_parent' | '_top'; teid?: string; link?: boolean; rounded?: boolean; } export interface IButtonChild { children?: React.ReactNode; iconRight?: boolean; icon?: TAlphaIcon; iconOnly?: boolean; size?: 'sm' | 'md' | 'lg'; }