react-star-ratings
react-star-ratings copied to clipboard
Allow "Type Of Widget" as parameter
It would be nice to be able to set this prop using the API (component):
typeOfWidget: 'Star',
line 197 star-ratings.js
If you are using a different icon like hearts or other it would be nice to change this string for the title (hover).
yeah, you can currently do that in a sister repo I made
https://github.com/ekeric13/react-ratings-declarative docs here
There is some shared code between the two, I can probably just expose the typeOfWidget
prop in this repo like I did in the other repo.