Optional
accessibleWhen true, indicates that the view is an accessibility element. By default, all the touchable elements are accessible.
Optional
accessibilityProvides an array of custom actions available for accessibility.
Optional
accessibilityOverrides 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.
Optional
aria-Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel https://github.com/facebook/react-native/issues/34424
Optional
accessibilityAccessibility Role tells a person using either VoiceOver on iOS or TalkBack on Android the type of element that is focused on.
Optional
accessibilityAccessibility State tells a person using either VoiceOver on iOS or TalkBack on Android the state of the element currently focused on.
Optional
aria-alias for accessibilityState
see https://reactnative.dev/docs/accessibility#accessibilitystate
Optional
aria-Optional
aria-Optional
aria-Optional
aria-Optional
accessibilityAn 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.
Optional
accessibilityRepresents 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).
Optional
aria-Optional
aria-Optional
aria-Optional
aria-Optional
onWhen accessible
is true, the system will try to invoke this function when the user performs an accessibility custom action.
Optional
important[Android] Controlling if a view fires accessibility events and if it is reported to accessibility services.
Optional
aria-A value indicating whether the accessibility elements contained within this accessibility element are hidden.
Optional
aria-Optional
roleIndicates to accessibility services to treat UI component like a specific role.
Optional
accessibilityIdentifies 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.
Optional
aria-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.
Optional
accessibilityIndicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.
Optional
aria-Indicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.
Optional
accessibilityA Boolean value indicating whether the accessibility elements contained within this accessibility element are hidden to the screen reader.
Optional
accessibilityA Boolean value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver.
Optional
onWhen accessible is true, the system will invoke this function when the user performs the escape gesture (scrub with two fingers).
Optional
onWhen accessible
is true, the system will try to invoke this function when the user performs accessibility tap gesture.
Optional
onWhen accessible is true, the system will invoke this function when the user performs the magic tap gesture.
Optional
accessibilityOptional
accessibilityBy 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
Optional
accessibilityA 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
Optional
accessibilityWhen accessibilityShowsLargeContentViewer
is set, this string will be used as title for the large content viewer.
https://reactnative.dev/docs/accessibility#accessibilitylargecontenttitle
Whether the sheet is visible. Defaults to false.
Optional
presentationControls how the modal is presented (after animation). iOS only. Defaults to popover
. See https://developer.apple.com/documentation/uikit/uimodalpresentationstyle for more info.
Optional
animationControls how the modal animates. iOS only.
Optional
appearanceConfiguration for the look and feel of the UI.
Optional
defaultThe values to prepopulate the sheet's fields with.
Optional
additionalConfiguration for additional fields besides the physical address
Optional
phoneNumber?: "hidden" | "optional" | "required"Determines whether the phone number is hidden, required, or optional. Defaults to hidden.
Optional
checkboxLabel?: stringThe label of a checkbox displayed below other fields. If null or undefined, the checkbox is not displayed.
Optional
allowedA list of two-letter country codes representing countries the customers can select. If the list is empty (the default), we display all countries.
Optional
autocompleteA list of two-letter country codes representing countries that support address autocomplete. Defaults to a list of countries that Stripe has audited to ensure a good autocomplete experience.
Optional
primaryThe title of the primary button displayed at the bottom of the screen. Defaults to "Save Address".
Optional
sheetTitle displayed at the top of the sheet. Defaults to "Address".
Optional
googleAndroid only. Google Places api key used to provide autocomplete suggestions. When null, autocomplete is disabled on Android.
Called when the user submits their information
Called when the user taps the button to close the sheet before submitting their information, or when an error occurs.
Props