A cross-platform (iOS&Android), drawer component for React Native.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
image
lib
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

react-native-pan-drawer

A cross-platform (iOS&Android), drawer component for React Native.


Demo



Install

npm install react-native-pan-drawer --save


Usage

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();