React Rating Stars
React component to rate through stars
Facebook React Component
Add it to your project
- Run ```npm install react-rating-stars --save````
- Import
import RatingStars from "react-rating-stars";
- Require
var RatingStars require("react-rating-stars");
How to apply?
const stars = 5; //Number of starsconst changeRating = true; //Callback on change <RatingStars stars=stars onChange=changeRating />