Optional componentDirect props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.
Optional disableDisable extra padding on right of buttons
Optional disabled?: booleanIndicate if button is disabled
Optional dismissIndicate if keyboard should be dismissed onPress
Optional forwardRef property for parent
Optional icon?: CarbonIconIcon to render (size 20)
Optional iconIndicate if icon only mode should be used (text is not rendered)
Optional kind?: "primary" | "secondary" | "tertiary" | "danger" | "ghost" | "danger-tertiary" | "danger-ghost"Button kind. Primary is default
Optional ononLongPress event
Optional ononPress event
Optional overrideOverride text icon and border color for edge cases
Optional style?: StyleProp<ViewStyle>Style to set on the item
Text to render (for iconOnlyMode use descriptive text)
Optional textText type to render (Standard is default)
Generated using TypeDoc
Props for Button component