![Build Status](https://travis-ci.org/ikr/react-star-rating-input.svg?branch=master)
About
React.js component for entering 0-N stars (N is 5 by default). See
the demo.
Installation
Made for Browserify; graphics and CSS bundled.
npm install --save react-star-rating-input
Usage
See the code of the demo
mentioned above.
Props
Static layout
size
-- how many stars to display. The default value is 5showClear
-- hides the "Clear" link when false
. The default value is true
clearLabel
-- 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) {...}
-- your value
change handler