React Native Modalfy
v2.x
v2.x
  • Getting started
  • Installation
  • Guides
    • Creating a stack
    • Opening & closing
    • Passing params
    • Type checking with TypeScript
    • Subscribing to events
    • Using outside React
    • Upgrading from v1.x
  • API Reference
    • Types
      • ModalStackConfig
      • ModalOptions
      • ModalProp
      • ModalComponentProp
      • ModalComponentWithOptions
    • ModalProvider
    • createModalStack
    • useModal
    • withModal
    • modalfy
  • Blog
    • Announcing Modalfy v2
    • Stacks on stacks in React Native
    • Introducing a Modal Citizen
  • Others
    • Help
    • Contributing
    • Changelog
    • Github
Powered by GitBook
On this page
  • Bare React Native projects
  • Expo managed projects

Was this helpful?

Installation

PreviousGetting startedNextCreating a stack

Last updated 3 years ago

Was this helpful?

Bare React Native projects

1. Install the react-native-modalfy package.

yarn add react-native-modalfy
npm install --save react-native-modalfy

2. Then you'll need to install and link to your project.

3. That's it! No further action required!

Now you can move on to actually using the library through the modal stack.

Expo managed projects

If you're using Expo, you'll only need to run this single command from the root of your project:

expo install react-native-modalfy react-native-gesture-handler
react-native-gesture-handler