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

cant use import { css } from "@emotion/core"; #45

Open
Rolandas1369 opened this issue Nov 29, 2020 · 0 comments
Open

cant use import { css } from "@emotion/core"; #45

Rolandas1369 opened this issue Nov 29, 2020 · 0 comments

Comments

@Rolandas1369
Copy link

cant use import { css } from "@emotion/core";
after chage to import { css } from "@emotion/react";

getting this error in html
You have tried to stringify object returned from css function. It isn't supposed to be used directly (e.g. as value of the className prop), but rather handed to emotion so it can handle it (e.g. as value of css prop).

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

1 participant