Skip to content

Latest commit

 

History

History
123 lines (66 loc) · 2.49 KB

File metadata and controls

123 lines (66 loc) · 2.49 KB

Interface: AppleButtonProps

The available props for the AppleButton view component.

Table of contents

Properties

Methods

Properties

buttonStyle

Optional buttonStyle: AppleButtonStyle

See @{AppleButtonStyle}

Defined in

index.d.ts:83


buttonType

Optional buttonType: AppleButtonType

See @{AppleButtonType}

Defined in

index.d.ts:88


cornerRadius

Optional cornerRadius: number

Corner radius of the button.

Defined in

index.d.ts:93


leftView

Optional leftView: ReactNode

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

Defined in

index.d.ts:113


style

Optional style: StyleProp<ViewStyle>

Styling for outside TouchableOpacity

Defined in

index.d.ts:98


testID

Optional testID: string

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

Defined in

index.d.ts:103


textStyle

Optional textStyle: StyleProp<TextStyle>

Android-only. Styling for button text.

Defined in

index.d.ts:108

Methods

onPress

onPress(event): void

Parameters

Name Type
event GestureResponderEvent

Returns

void

Defined in

index.d.ts:115