Home

Awesome

RNSideMenu

Preview

<p align="center"> <img src="https://raw.githubusercontent.com/khanghoang/RNSideView-Examples/master/demo.gif" /> </p>

Examples

Clone this repo and take a look of the index.ios.js

Installation

[sudo] npm install sidemenu --save

Usage

var SideMenu = require('sidemenu');

global.sideMenu = 
      <SideMenu
      frontView={FrontView}
      sideView={<SideView />}
      />;

var App = React.createClass({
  render: function () {
    return (
      <View style={styles.container} >
        {sideMenu}
      </View>
    );
  }
})

Then at any place of you code, if you wanna toggle SideView manually, call sideMenu.props.toggleSideView()

Route map

Contribute

Pull requests are welcome.

This component can not be done without helps from @ToanNG & @vu.nguyen

About me

Follow me at @khanght