React-native-swiper: How can i change the dots and buttons position?

Created on 15 Feb 2019  ·  3Comments  ·  Source: leecade/react-native-swiper

Current:
help

I need some help with customizing on the swiper. Is it possible to move the dots and buttons up to the text area?
Like this:
help kopi

And how can i change the color on the buttons?

Most helpful comment

bump @ buttons

about pagination in my case:

paginationStyle={{bottom: undefined, left: undefined, top: 0, right: 0}}

u gotta overwrite default styles with undefined sometimes

All 3 comments

This was closed. Any idea how is this to be achieved?

bump @ buttons

about pagination in my case:

paginationStyle={{bottom: undefined, left: undefined, top: 0, right: 0}}

u gotta overwrite default styles with undefined sometimes

So the paginationStyle prop refers to the pagination container. What worked for me was to set top: 0 and alignItems: "flex-start" (since the pagination container by default has flexDirection: "row"). And then apply paddings to your liking

Was this page helpful?
0 / 5 - 0 ratings