ManuallyRequestSheet.SkipButton
Text action button for a host-defined skip action
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
Use this button for an app-defined secondary action, such as returning to the previous screen or postponing the connection step.
<DataSync.ManuallyRequestSheet.SkipButton onPress={handleSkip}>
Not now
</DataSync.ManuallyRequestSheet.SkipButton>The component accepts React Native Paper ButtonProps and defaults to
mode="text". It only calls the onPress handler supplied by the app: it
does not dismiss the modal or change the provider's skipRequest state. If the
flow skips permission, make sure the app does not leave a sync component mounted
behind the dismissed prompt.
See ManuallyRequestSheet for the full request flow.
Last updated on