Skip to content

khanghoang/RNSideView-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNSideMenu

Preview

Examples

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

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()

Have questions?

Create an issue at main repo

About me

Follow me at @khanght

About

This are examples for RNSideView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published