React native animated drawer
React native drawer using react native Animated.
This package currently contains a bare minimum. Feel free to add features and make pull requests.
Usage:
;;; interface State isOpen: boolean Component<{} State> { superprops; thisstate = isOpen: false; } { return <View style=backgroundColor: 'green' flex: 1> 10 </View> } { return <View style=backgroundColor: 'red' flex: 1> <Text>Sidebar content</Text> </View> } { return <Sidebar shouldOpen= this shouldClose= this isOpen=thisstateisOpen content=this sidebarContent=this /> } ;