-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
export tags #3320
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
Labels
Comments
We could make this work. PRs are welcome. |
kireerik
added a commit
to kireerik/emotion
that referenced
this issue
Apr 3, 2025
kireerik
added a commit
to kireerik/emotion
that referenced
this issue
Apr 3, 2025
kireerik
added a commit
to kireerik/emotion
that referenced
this issue
Apr 3, 2025
kireerik
added a commit
to kireerik/emotion
that referenced
this issue
Apr 3, 2025
kireerik
added a commit
to kireerik/emotion
that referenced
this issue
Apr 3, 2025
Sounds good. I think something like this (main...kireerik:emotion:2ef91c8) should work, but only the CodeSandbox test passed like that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
In version
11.13.5
and below I was able to directly import the tags module like this:https://github.com/kireerik/refo/blob/0f64433e4dc99c8643ec68b0977f4a00c0998465/module/style/index.jsx#L6-L9
(Version
11.14.0
uses TypeScript. So I won't be able to do the above as is.)Proposed solution
Make the tags module importable from
@emotion/styled
like this for example:Alternative solutions
2. Make the tags module a separate package like
@emotion/tags
for example.The text was updated successfully, but these errors were encountered: