Package Exports
- react-native-modal
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-modal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-modal
A <Modal>
component for react-native. This is still very much a work
in progress and only handles the simplest of cases, ideas and
contributions are very welcome.
Add it to your project
- Run
npm install react-native-modal --save
var Modal = require('react-native-modal');
- At the bottom of your app, add the
<Modal>
element and use itsisVisible
prop to toggle visibility. It needs to be at the bottom so that it appears above all other components when it is visible.
Example
See react-native-login for an example, where it is used to produce this: