bviebahn / react-native-star-rating-widget

A customizable, animated star rating component for React Native. Compatible with iOS, Android and Web. Written in Typescript.
MIT License
199 stars 22 forks source link

Add emptyColor option fill the star instead of it just colors the border #68

Closed kvntzn closed 2 months ago

kvntzn commented 3 months ago

Currently, the emptyColor only colors the border of the star. We can add a prop to use a star type for the emptyColor.

bviebahn commented 3 months ago

I'm not sure what you mean. The default empty icon is basically just a border, it's not filled. You can always use the StarIconComponent prop to do your own customizations. Here is an example: https://github.com/bviebahn/react-native-star-rating-widget/blob/master/example/src/CustomIconExample.tsx