react-native-screens library exposes native navigation container components to React Native. This library isn’t a standalone library but a dependency of a full-featured navigation library.
Installation
-
Add the dependency in the package.json file:
-
Reinstall npm packages using
npm installcommand.
Examples
API reference
Components
Known issues and limitations
The following component props are not supported (most are iOS/Android specific):customAnimationOnSwipefullScreenSwipeEnabledgestureEnabledgestureResponseDistancehideKeyboardOnSwipehomeIndicatorHiddennativeBackButtonDismissalEnablednavigationBarColornavigationBarHiddenonHeaderBackButtonClickedonNativeDismissCancelledpreventNativeDismissreplaceAnimationscreenOrientationsheetAllowedDetentssheetExpandsWhenScrolledToEdgesheetCornerRadiussheetGrabberVisiblesheetLargestUndimmedDetentstackAnimation(only fade animation is supported)stackPresentationstatusBarAnimationstatusBarColorstatusBarHiddenstatusBarStylestatusBarTranslucentswipeDirectiontransitionDuration
ScreenStackHeaderRightView, , ) are not supported.

