Skip to content

jetrockets/react-native-modal

Repository files navigation

npm (scoped)

@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>
    )
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published