Interface CustomButton

interface CustomButton {
    action: (() => void);
    show: boolean;
    backgroundColor?: string;
    disabled?: boolean;
    icon?: IconDefinition;
    iconStyle?: CSSProperties;
    text?: string;
    textStyle?: CSSProperties;
    customComponent?: ReactNode;
}

Properties

action: (() => void)
show: boolean
backgroundColor?: string
disabled?: boolean
icon?: IconDefinition
iconStyle?: CSSProperties
text?: string
textStyle?: CSSProperties
customComponent?: ReactNode