KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
react-native-simple-drawer
★ 11
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
wp-blank
:
Blank WordPress theme for building custom frontend code
jekyll-pre-commit
:
A Jekyll plugin to make sure your post is _really_ ready for publishing
ipro-cli
:
iproto cli tools
westcache
:
Java annotation based cache, with convenience for cache flush
radio-stream-cli
:
A personal music streaming solution
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
react-native-simple-drawer
?
Download (.md)
<img src="./screen.gif"/> *** 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 = ( <View style={{padding:10}}> <Text>react-native-simple-drawer</Text> </View> ) return ( <SideMenu ref="menu" menu={menu}> <View> <TouchableOpacity onPress={() => this.refs.menu.open()}> <Text>Toggle Menu</Text> </TouchableOpacity> </View> </SideMenu> ); } }; ```