0.3.1 • Published 9 years ago

react-custom-rating v0.3.1

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

Custom Image Rating

We will be using React to create the component and using the "props" to set the outcome of the image. eg. {maxRating: 5, rating: 4, image: http://img-src}

Props to supply

Please use the exact spellings:

Prop nameProp TypeDescription
imagestringA string of the image's URL
maxRatingnumberThe scale of the rating i.e. if you are rating something 3 out of 10, this value would be 10!
ratingnumberThe rating on the scale i.e. if you are rating something 3 out of 10, this value would be 3!