Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 555 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 555 Bytes

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