Interface: AppleButtonProps

November 5, 2025 ยท View on GitHub

@invertase/react-native-apple-authentication


Interface: AppleButtonProps

Defined in: index.d.ts:79

The available props for the AppleButton view component.

Properties

buttonStyle?

optional buttonStyle: AppleButtonStyle

Defined in: index.d.ts:83

See @{AppleButtonStyle}


buttonText?

optional buttonText: string

Defined in: index.d.ts:118

Android-only. Custom button text.


buttonType?

optional buttonType: AppleButtonType

Defined in: index.d.ts:88

See @{AppleButtonType}


cornerRadius?

optional cornerRadius: number

Defined in: index.d.ts:93

Corner radius of the button.


leftView?

optional leftView: ReactNode

Defined in: index.d.ts:113

Android-only. View on the left that can be used for an Apple logo.


onPress()

onPress: (event) => void

Defined in: index.d.ts:120

Parameters

event

GestureResponderEvent

Returns

void


style?

optional style: StyleProp<ViewStyle>

Defined in: index.d.ts:98

Styling for outside TouchableOpacity


testID?

optional testID: string

Defined in: index.d.ts:103

Can be used in mock testing frameworks to inject / look up by id.


textStyle?

optional textStyle: StyleProp<TextStyle>

Defined in: index.d.ts:108

Android-only. Styling for button text.