Interface CustomButton<TIcon, TElement>

interface CustomButton<TIcon, TElement> {
    action: (() => void);
    show: boolean;
    backgroundColor?: string;
    disabled?: boolean;
    icon?: TIcon;
    iconStyle?: Record<string, any>;
    text?: string;
    textStyle?: Record<string, any>;
    customComponent?: TElement;
}

Type Parameters

  • TIcon = unknown
  • TElement = unknown

Properties

action: (() => void)
show: boolean
backgroundColor?: string
disabled?: boolean
icon?: TIcon
iconStyle?: Record<string, any>
text?: string
textStyle?: Record<string, any>
customComponent?: TElement