OptionalaccessibleWhen true, indicates that the view is an accessibility element. By default, all the touchable elements are accessible.
OptionalaccessibilityProvides an array of custom actions available for accessibility.
OptionalaccessibilityOverrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.
Optionalaria-Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel https://github.com/facebook/react-native/issues/34424
OptionalaccessibilityAccessibility Role tells a person using either VoiceOver on iOS or TalkBack on Android the type of element that is focused on.
OptionalaccessibilityAccessibility State tells a person using either VoiceOver on iOS or TalkBack on Android the state of the element currently focused on.
Optionalaria-alias for accessibilityState
see https://reactnative.dev/docs/accessibility#accessibilitystate
Optionalaria-Optionalaria-Optionalaria-Optionalaria-OptionalaccessibilityAn accessibility hint helps users understand what will happen when they perform an action on the accessibility element when that result is not obvious from the accessibility label.
OptionalaccessibilityRepresents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars, it contains range information (minimum, current, and maximum).
Optionalaria-Optionalaria-Optionalaria-Optionalaria-OptionalonWhen accessible is true, the system will try to invoke this function when the user performs an accessibility custom action.
Optionalimportant[Android] Controlling if a view fires accessibility events and if it is reported to accessibility services.
Optionalaria-A value indicating whether the accessibility elements contained within this accessibility element are hidden.
Optionalaria-OptionalroleIndicates to accessibility services to treat UI component like a specific role.
OptionalaccessibilityIdentifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props, the text is read aloud. The value should should match the nativeID of the related element.
Optionalaria-Identifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props, the text is read aloud. The value should should match the nativeID of the related element.
OptionalaccessibilityIndicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.
Optionalaria-Indicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.
OptionalaccessibilityA Boolean value indicating whether the accessibility elements contained within this accessibility element are hidden to the screen reader.
OptionalaccessibilityA Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver.
OptionalonWhen accessible is true, the system will invoke this function when the user performs the escape gesture (scrub with two fingers).
OptionalonWhen accessible is true, the system will try to invoke this function when the user performs accessibility tap gesture.
OptionalonWhen accessible is true, the system will invoke this function when the user performs the magic tap gesture.
OptionalaccessibilityOptionalaccessibilityBy using the accessibilityLanguage property, the screen reader will understand which language to use while reading the element's label, value and hint. The provided string value must follow the BCP 47 specification (https://www.rfc-editor.org/info/bcp47). https://reactnative.dev/docs/accessibility#accessibilitylanguage-ios
OptionalaccessibilityA Boolean value that indicates whether or not to show the item in the large content viewer. Available on iOS 13.0+ https://reactnative.dev/docs/accessibility#accessibilityshowslargecontentviewer
OptionalaccessibilityWhen accessibilityShowsLargeContentViewer is set, this string will be used as title for the large content viewer.
https://reactnative.dev/docs/accessibility#accessibilitylargecontenttitle
OptionaltypeSets the text displayed by the button.
OptionalappearanceSets the coloring of the button.
OptionalborderSets the border radius of the button.
OptionaldisabledSet to true to disable the button from being pressed & apply a slight opacity to indicate that it is unpressable. Defaults to false.
OptionalonThis callback is triggered whenever the user selects a shipping method in the Apple Pay sheet.
It receives one parameter: an event object with a shippingMethod field. You MUST
update the Apple Pay sheet in your callback using the updatePlatformPaySheet function, otherwise the
Apple Pay sheet will hang and the payment flow will automatically cancel.
OptionalonThis callback is triggered whenever the user selects a shipping contact in the Apple Pay sheet IF
ContactField.PostalAddress was included in the requiredShippingAddressFields array.
It receives one parameter: an event object with a shippingContact field. You MUST
update the Apple Pay sheet in your callback using the updatePlatformPaySheet function, otherwise the
Apple Pay sheet will hang and the payment flow will automatically cancel.
OptionalonThis callback is triggered whenever the user inputs a coupon code in the Apple Pay sheet.
It receives one parameter: an event object with a couponCode field. You MUST
update the Apple Pay sheet in your callback using the updatePlatformPaySheet function, otherwise the
Apple Pay sheet will hang and the payment flow will automatically cancel.
OptionalsetCallback function for setting the order details (retrieved from your server) to give users the
ability to track and manage their purchases in Wallet. Stripe calls your implementation after the
payment is complete, but before iOS dismisses the Apple Pay sheet. You must call the completion
function, or else the Apple Pay sheet will hang.
OptionaltestIDOptionalstyle
PlatformPayButton Component Props