react-native-swipe-carousel

0.1.7 • Public • Published

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

Package Sidebar

Install

npm i react-native-swipe-carousel

Weekly Downloads

1

Version

0.1.7

License

MIT

Last publish

Collaborators

  • jonasantonelli