ManuallyRequestSheet.RequestButton
Contained action button for requesting health permissions
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
Use this button to invoke the requestAccess callback supplied by the
authorization provider's renderManualRequestUI prop.
<DataSync.ManuallyRequestSheet.RequestButton onPress={requestAccess}>
Continue
</DataSync.ManuallyRequestSheet.RequestButton>The component accepts React Native Paper ButtonProps and defaults to
mode="contained". It does not connect to the authorization provider by
itself; pass the callback to onPress. The button does not close the sheet
automatically.
See ManuallyRequestSheet for the full request flow.
Last updated on