react-native-swipe-carousel
v0.1.7
Published
React Native Component Swipe Carousel
Downloads
17
Maintainers
Readme
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