ekeric13 / react-star-ratings

A customizable svg star rating component for selecting x stars or visualizing x stars
https://codepen.io/ekeric13/project/full/DkJYpA/
BSD 3-Clause "New" or "Revised" License
152 stars 44 forks source link

Remove './' from usage demo import #19

Open allanesquina opened 5 years ago

allanesquina commented 5 years ago

Once you import the component by using ./ the app will try to get the component from you local folder instead node_modules folder.

import StarRatings from './react-star-ratings';

Just to avoid an initial error when someone cope and past the usage example like me.

Thanks for the nice component.

manuortelli commented 4 years ago

Thanks!