npm install rn-popup
```
npm install rn-popup --save
`js
const Popup = require('rn-popup');
...
render() {
return (
);
}
_openPopUp() {
this.setState({
isVisible: true
});
}
_closePopUp() {
this.setState({
isVisible: false
});
}
`
- isVisible _(bool)_ - Value to show/hide popup.
- duration _(number)_ - Duration in milliseconds for animation. Defaults to 800.
- entry _(string)_ - Entry position for showing popup. This can be 'top' or 'bottom' defaults to 'top'.
- exit` _(string)_ - Exit position for hiding popup. This can be 'top' or 'bottom' defaults to 'bottom'.