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

react-awesome-button\src\components\AwesomeButton\index.js: Unexpected token (20:24) #58

Open
DerikDantas opened this issue Apr 1, 2020 · 4 comments

Comments

@DerikDantas
Copy link

No description provided.

@joshuawootonn
Copy link

I have the same issue

@alicercedigital
Copy link

I have the same issue. I'm using typescript.

@GustavoCarvallo
Copy link

The same problem here. Does anyone know how to fix it?

@GustavoCarvallo
Copy link

GustavoCarvallo commented May 9, 2020

I was able to make it work, my problem was that I was forgetting of importing the .css. After I add that import, it works.

My imports now are like this:

import { AwesomeButton } from 'react-awesome-button';
import 'react-awesome-button/dist/styles.css';

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

4 participants