⭐ Zero-dependency, highly customizable rating component for React.
MIT License
This release fixes #16 by introducing a new prop named preventDefault
.
It is now possible to assign one of: keydown
| click
| all
| none
to granurarly control on which interactions event.preventDefault
is called internally. By default it is set to all
.
Published by smastrom 11 months ago
This release fixes a long-standing bug where the shapes size was not computed when Rating
was mounted in a container with display: hidden
- #10, #17
Published by smastrom 11 months ago
Add event.stopPropagation
to onClick hander - #16
Published by smastrom about 1 year ago
react-rating
.