Soomgo-Mobile/react-native-animated-pagination-dot

Cant change dot size

pratt3351 opened this issue · 7 comments

cant change dot Size.

Not necessory to this library

Can you please help me transforming the dots into bars?
I've done some changes like removing borderRadius but, if i try to increment the DotStyle.size and adding containerWidth to full card width, the whole component broke.

Can you help?

@Derewith
You wanna change size change ? i will updated it until this month !

@rouge3351 yeah, i think it will be awesome! Thanks again

Hi i'm finally make your suggettion
I define in props sizeRatio. you can use that when you wanna change size.

but i recommend you to sizeRatio between 1 to 2
it is necessary prevent ui broken issues
total container size dependent on each dot size
so i will recommend you to use this props option between 1 to 2

i hope use this props ! thanks !

@Derewith
Aug-29-2020 19-28-31

publish 0.1.7 npm module! enjoy!

Probably you will find this library more useful and more configurable:
https://github.com/felire/react-native-animated-dots-carousel

@Derewith @pratt3351