An open API service indexing awesome lists of open source software.

https://github.com/kyle-ssg/react-native-simple-drawer


https://github.com/kyle-ssg/react-native-simple-drawer

drawer menu react-native react-native-simple-drawer

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

*** Required Props ***
- menu: The menu component

*** Optional Props (See ./example for usage) ***
- targetOffset: How far from the edge before responding to gestures
- disableGestures: disable swipe to show/hide
- onChange:(isOpen)=>{}
- direction: "left" or "right"
- style: The style of the menu
- width: The width of the menu
- value: Optional ```Animated.Value(0)``` used to link animations inline with menu

*** Functions ***
- ref.close()
- ref.open()

***Minimal Example***

```
import SideMenu = from 'react-native-simple-drawer';
```

```
render() {
const menu = (

react-native-simple-drawer

)
return (


this.refs.menu.open()}>
Toggle Menu



);
}
};
```