Paramount
Edit page
IntroductionCustomizationLayout
Components
AlertAvatarBadgeBoxButtonUsagePropsOverridesCheckboxCollapsibleContainerCounterDialogDividerDrawerFormFieldHeadingIconLabelListItemListPickerModalNativePickerParagraphPickerPopoverProgressBarRatingRow and ColumnSliderSwitchTextTextInputToastVisibleWheelPicker
ContributingReadme

Button

Button component to trigger an action

Usage

Variations

Default
Default
Default
Primary
Primary
Primary
Secondary
Secondary
Secondary
Danger
Danger
Danger

Sizes

Small
Medium
Large

Props

overrides
Partial<{ touchable: overridewithstyle<buttonbaseprops, touchableprops, styleprop<viewstyle>>; title: overridewithstyle<buttonbaseprops, titleprops, style<textprops, textstyle>>; iconbefore: overridebase<...>; iconafter: overridebase<...>; loading: overridebase<...>; }> | undefined
title
Optionalstring
color
String | undefined
"default"
appearance
"primary" | "minimal" | "outline" | undefined
"primary"
size
Number | "small" | "medium" | "large" | undefined
"medium"
isLoading
Boolean | undefined
false
isDisabled
Boolean | undefined
false
onPress
((event: gestureresponderevent) => void) | undefined
testID
String | undefined

Overrides

export interface ButtonOverrides {
Touchable: TouchableProps;
Title: TitleProps;
IconBefore: IconProps;
IconAfter: IconProps;
Loading: LoadingProps;
}