Skip to content

luongvm/react-rating

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

stars rating component with float-number-rating supported

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.9%
  • HTML 2.1%