React Native Drawer
We're impressed by the amount of high quality Components the community is working on.
This React Native Drawer from Zack (@rt2zz) makes no exception.
He has put some really good thoughts on its configurations and animations.
React Native Drawer
Configurable react native pull out drawer. Supports displace, overlay (material design) static (slack style) transitions modes, as well as custom tweens.
Android: Android support has been added in v1.3.0!
var Drawer = require("rn-drawer");
var Application = React.createClass({
closeControlPanel: function () {
this.refs.controlPanel.closeDrawer();
},
openControlPanel: function () {
this.refs.controlPanel.openDrawer();
},
render: function () {
return (
<Drawer ref="controlPanel" content={<ControlPanel />}>
<MainView />
</Drawer>
);
},
});