react-rating-float

1.1.9 • Public • Published

ReactRating

Component to let you display star rating with float number support

Installation

npm i react-rating-float

Example

<ReactRating rate={3.7} total={5}/>

Variables

raterDim : Diameter of a star (20)
rate : Set your rating (0.5)
total : Set your total stars (1)
activeColor : Active Star Color (#FFB600)
inactiveColor : Inactive Star Color (#bebebe)
raterBg : Background for the component (#fff)

Dependents (0)

Package Sidebar

Install

npm i react-rating-float

Weekly Downloads

8

Version

1.1.9

License

MIT

Last publish

Collaborators

  • joturako