react-native-pager
v0.0.3
Published
a pager component for react native
Downloads
251
Readme
react-native-pager
install
npm install react-native-pager
usage
import ViewPager from "react-native-pager";
class App extends React.Component {
render() {
return (
<ViewPager
loop={true}
onPageChanged={index => {}}>
<View>
// View1
</View>
<View>
// View2
</View>
<View>
// View3
</View>
<View>
// View4
</View>
</ViewPager>
)
}
}