Interface AltButton

interface AltButton {
    name?: string;
    icon?: IconDefinition;
    alternateIcon?: IconDefinition;
    onPress?: (() => void);
    active?: boolean | (() => boolean);
    activeColor?: string | (() => string);
    inActiveColor?: string | (() => string);
    color?: string;
    backgroundColor?: {
        default?: string;
    };
    customComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent);
    iconComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent);
    alternateIconComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent);
    show?: boolean | (() => boolean);
}

Properties

name?: string
icon?: IconDefinition
alternateIcon?: IconDefinition
onPress?: (() => void)
active?: boolean | (() => boolean)
activeColor?: string | (() => string)
inActiveColor?: string | (() => string)
color?: string
backgroundColor?: {
    default?: string;
}
customComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent)
iconComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent)
alternateIconComponent?: HTMLElement | CustomComponent | (() => HTMLElement | CustomComponent)
show?: boolean | (() => boolean)