Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove './' from usage demo import #19

Open
allanesquina opened this issue Jan 27, 2019 · 1 comment
Open

Remove './' from usage demo import #19

allanesquina opened this issue Jan 27, 2019 · 1 comment

Comments

@allanesquina
Copy link

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
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants