I've ported this version to TypeScript, converted it to a functional component, and upgraded it to work with the latest React versions (18 and 19).
I'm using storybook instead of having an example folder.
🔗 https://github.com/iquirino/react-stars
@olegberman Would you be interested in merging my fork, adding me as a contributor, or possibly transferring ownership of react-stars?
We really like your component and would love to see it continue evolving with modern technology.
Thank you! 😉
This version keeps your original intent while improving readability and flow. Let me know if you want any further tweaks! 🚀