Supporting "gray" start instead of "outlined" star for empty star
Closed this issue · 6 comments
zirho commented
bviebahn commented
Hi,
yes I think that would be useful. I would suggest adding a StarComponent
prop with a type something like this:
StarComponent?: (props: { type: 'full' | 'half' | 'empty'; size: number; color: string }) => React.ReactNode
What do you think?
zirho commented
That sounds like a robust solution!
bviebahn commented
Alright, let me know if you would lilke to work on it. Otherwise I can probably find some time tomorrow.
zirho commented
Sorry I am spending too much time debugging some ambiguous RN issue.
I will come back once I get it fixed.
It would be awesome if you can get to it.
Gnite!
bviebahn commented
Ok sure, good luck with that!
bviebahn commented
I just published a new version 1.4.1 which includes this change. Let me know if something doesn't work as expected.