-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Export cx from @emotion/core
#1225
Comments
It's not a good idea within current design, because
|
Thanks for the answer, does it mean that the |
Yes. emotion/packages/core/src/class-names.js Lines 106 to 111 in 554a29d
emotion/packages/create-emotion/src/index.js Lines 104 to 106 in 554a29d
|
Oh ok I see, it makes sense then. Sorry for the waste of time! |
I'm currently trying to use vanilla emotion's |
Hi, would you accept a PR that makes
cx
a top level export from @emotion/core?Right now to use it you have to either use
<ClassName>
or theemotion
package.The text was updated successfully, but these errors were encountered: