react-star-rating-input
React.js component for entering 0-N stars (N is 5 by default).
Installation
Made for Browserify; graphics and CSS bundled.
npm install --save react-star-rating-input
Props
Static layout
size-- how many stars to display. The default value is 5showClear-- hides the "Clear" link whenfalse. The default value istrueclearLabel-- custom text for the "Clear" linkclearHint-- custom<a>'s title, a tooltip for the "Clear" link on mouse-hover
Interaction
value-- how many stars are selectedonChange: function (value) {...}-- yourvaluechange handler