Interface ButtonTouch

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

Properties

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