A cross-platform (iOS&Android), drawer component for React Native.
npm install react-native-pan-drawer --save
import Drawer from 'react-native-pan-drawer'
<Drawer
backgroundView = {() => <BackgroundView />}
leftView = {() => <LeftView />}
rightView = {() => <RightView />}
ref = {ref => this.drawer = ref}
/>
this.drawer.open();
this.drawer.close();
this.drawer.toggle();