react-native-screens aims to expose native navigation container components to React Native. It is not designed to be used as a standalone library but rather as a dependency of a full-featured navigation library.
Installation
-
Add the dependency in package.json file:
-
Reinstall npm packages using the
npm installcommand.
Examples
API reference
Components
Implementation details
The following component props aren’t supported (most are iOS/Android specific):customAnimationOnSwipefullScreenSwipeEnabledgestureEnabledgestureResponseDistancehideKeyboardOnSwipehomeIndicatorHiddennativeBackButtonDismissalEnablednavigationBarColornavigationBarHiddenonHeaderBackButtonClickedonNativeDismissCancelledpreventNativeDismissreplaceAnimationscreenOrientationsheetAllowedDetentssheetExpandsWhenScrolledToEdgesheetCornerRadiussheetGrabberVisiblesheetLargestUndimmedDetentstackAnimation(only fade animation is supported)stackPresentationstatusBarAnimationstatusBarColorstatusBarHiddenstatusBarStylestatusBarTranslucentswipeDirectiontransitionDuration- and other header components (,
ScreenStackHeaderRightView, , ) aren’t supported

