Open dwivediamit opened 6 years ago
@dwivediamit scrollEnabled = {false}
<Swiper loop={false}
ref={(component) => { this.swiper = component; }}
showsPagination={false}
scrollEnabled={false} // Use this for disable swipe.
index={0}>
.....
</Swiper>
onPress=()=> {
this.swiper.scrollBy(2)
}
<Swiper showsButtons={true} loop={false} index={0} onIndexChanged={(index) => this.statusChange(index)} showsPagination={false} prevButton={false} >