1.0.16 • Published 4 years ago

react-native-custom-swiper v1.0.16

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

React Native custom swiper using Flatlist

Use images or custom views for swiping, Please refer this blog to use this library.

Installation

npm i react-native-custom-swiper

npm.io

Properties

Basic

PropDefaultTypeDescription
swipeData[]arrayArray of data which user want to show in swiper
renderSwipeItem()=>{}functionCreate element of swiper
currentSelectIndex0numberIndex of initial screen.
showSwipeBtntrueboolFor hide or show left/right button
styleDefault styleobjectChange swiper style
onScreenChange(index) => {}funcFunction call when screen changed
leftButtonImageDefault left Arrow source {required("leftArrowString")}stringModify left arrow image
rightButtonImageDefault right Arrow source {required("rightArrowString")}stringModify right arrow image
containerWidthScreen widthnumberCustomize swiper screen width
backgroundColor"white"stringCustomize swiper background color
autoplaytrueboolChange slide index automatically
autoplayTimeout2500numberDelay between every slide (in Second)
1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago