@jetrockets/react-native-modal
v1.0.1
Published
Light swipeable modal component IOS/Android
Downloads
59
Maintainers
Readme
@jetrockets/react-native-modal
Light swipeable modal component IOS/Android
Installation
yarn add @jetrockets/react-native-modal
Next, install react-native-gesture-handler and react-native-reanimated.
yarn add react-native-gesture-handler react-native-reanimated
Usage
You only need to call GestureModal component and pass the state to it:
...
import { GestureModal } from '@jetrockets/react-native-modal';
function App() {
return (
<GestureModal visible={isVisible} setVisible={setVisible}>
<View>
<Text>👋 🚀</Text>
</View>
</GestureModal>
)
}