Description:
A lightweight and swipeable React Native modal component for iOS & Android. Based on react-native-gesture-handler and react-native-reanimated.
How to use it:
1. Install & import the modal component.
# Yarn $ yarn add @jetrockets/react-native-modal react-native-gesture-handler react-native-reanimated
import { GestureModal } from '@jetrockets/react-native-modal';2. Create a basic modal.
function App() {
return (
<GestureModal visible={isVisible} setVisible={setVisible}>
<View>
<Text>Your Text Here</Text>
</View>
</GestureModal>
)
}