Interface ButtonTouch<TIcon, TElement>

interface ButtonTouch<TIcon, TElement> {
    name?: string;
    icon?: TIcon;
    alternateIcon?: TIcon;
    onPress?: (() => void);
    backgroundColor?: {
        default?: string;
    };
    active?: boolean;
    alternateIconComponent?: TElement;
    iconComponent?: TElement;
    customComponent?: TElement;
    color?: string;
    activeColor?: string;
    inActiveColor?: string;
    show?: boolean;
    disabled?: boolean;
}

Type Parameters

  • TIcon = unknown
  • TElement = unknown

Properties

name?: string
icon?: TIcon
alternateIcon?: TIcon
onPress?: (() => void)
backgroundColor?: {
    default?: string;
}
active?: boolean
alternateIconComponent?: TElement
iconComponent?: TElement
customComponent?: TElement
color?: string
activeColor?: string
inActiveColor?: string
show?: boolean
disabled?: boolean