0.1.7 • Published 8 years ago

react-native-swipe-carousel v0.1.7

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

React Native Swipe Carousel

This is a simple Swipe Carousel Component to use in your React Native applications.

For IOS

Version

0.1.7

Installation

Swipe Carousel requires React v15.2.1+ and React Native v.0.29+

How to install using NPM Repository:

$ npm install react-native-swipe-carousel --save-dev

Import

import SwipeCarousel from 'react-native-swipe-carousel';

Using

class Main extends Component {

    render() {
        return (
          <View>
                <SwipeCarousel>
                    <View></View>{ /*Page 1*/ }
                    <View></View>{ /*Page 2*/ }
                    <View></View>{ /*Page 3*/ }
                    { /*...*/ }
                </SwipeCarousel>
          </View>
        );
    }
}

License

MIT