Skip to content

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

License

Notifications You must be signed in to change notification settings

yjy5264/react-native-pan-drawer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published