The available props for the AppleButton view component.
• Optional
buttonStyle: AppleButtonStyle
See @{AppleButtonStyle}
• Optional
buttonType: AppleButtonType
See @{AppleButtonType}
• Optional
cornerRadius: number
Corner radius of the button.
• Optional
leftView: ReactNode
Android-only. View on the left that can be used for an Apple logo.
• Optional
style: StyleProp
<ViewStyle
>
Styling for outside TouchableOpacity
• Optional
testID: string
Can be used in mock testing frameworks to inject / look up by id.
• Optional
textStyle: StyleProp
<TextStyle
>
Android-only. Styling for button text.
▸ onPress(event
): void
Name | Type |
---|---|
event |
GestureResponderEvent |
void