react-native-switcher
v0.1.0
Published
## Installation
Downloads
6
Readme
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>
)
}
})