JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
demo.gif
index.js
package.json

README.md

react-native-switcher

A dead simple zoomable-swiper made popular by the Kardashians' apps.

Installation

npm install react-native-switcher --save

Demo

demo

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