React Native Modalfy
v3.x
Search
⌃K

Installation

Bare React Native projects

1. Install the react-native-modalfy package.
Yarn
npm
yarn add react-native-modalfy
npm install --save react-native-modalfy
2. Then you'll need to install and link react-native-gesture-handler to your project.
3. Wrap your app entry point into <GestureHandlerRootView /> from react-native-gesture-handler.
That's it! No further action is required!
Now you can move on to actually using the library through the modal stack.

Expo managed projects

If you're using Expo, on top of setting up <GestureHandlerRootView />, you'll only need to run this single command from the root of your project:
Bash
expo install react-native-modalfy react-native-gesture-handler