kolking / react-native-page-indicator

React Native component designed to display the current page of a swiper, slideshow, carousel, and more.
MIT License
63 stars 4 forks source link

Can we have props to increase size of inactive page indicators? #3

Closed vijaykumariorbit closed 1 year ago

kolking commented 1 year ago

@vijaykumariorbit sure, there is the size prop. Refer to the list of props for more information.

vijaykumariorbit commented 1 year ago

Thanks @kolking Actually I am aware of size props and already using the same. But what I actually want is, the active page and inactive page indicators are of different lengths. Is there a possible way to have both active and inactive indicators with same length?

kolking commented 1 year ago

@vijaykumariorbit I have recently released version 2.0.0, which allows you to create indicators of equal length by setting the variant prop to train and controlling the length using the dashSize prop.

You're welcome to try the new version. Take a look at the updated Readme for details.

Closing the issue as resolved.