-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show numbers instead of dots? #3
Comments
thanks, @aksonov For custom label string with X/Y, my option is add a prop var renderPagination = function(index, total) {
return <View style={{}}><Text>{index}/{total}</Text></View>
}
<Swiper pagination={renderPagination}>
<View style={styles.slide1}>
<Text style={styles.text}>Hello Swiper</Text>
</View>
</Swiper> And your opinion? |
Sounds great! Sent from my iPhone
|
OK. CI later |
Sorry so late @aksonov , Now there is a new prop Update doc later, thanks your idea. |
…upportAndroid Revert "Revert "Feature/support android""
What if I need a custom pagination but also wants to render dots? |
@leecade and @smithaitufe |
Great component! It would be good to have X/Y (X current page / Y total pages) customizable label string instead of dots for big lists.
The text was updated successfully, but these errors were encountered: