react-native-switcher

0.1.0 • Public • Published

react-native-switcher

Installation

npm install react-native-switcher --save

Usage

var Switcher = require('react-native-switcher');
var App = React.createClass({
  render() {
    return (
      <Switcher>
        <View style={{flex: 1, backgroundColor: 'green'}} />
        <View style={{flex: 1, backgroundColor: 'orange'}} />
        <View style={{flex: 1, backgroundColor: 'red'}} />
      </Switcher>
    )
  }
})

/react-native-switcher/

    Package Sidebar

    Install

    npm i react-native-switcher

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • olivierlesnicki