You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
When extend EmotionTheme via CreateStyled plugin doesn't add an correct className. ClassName is like without plug => class="css-t0lbh8" instead class="css-t0lbh8-MyComponentName"
I styled files I import styled from my own config file. When i import from "@emotion/styled" plugin works correct.
Expected behavior:
Plugin search for all styled files.
Environment information:
react version: 16.13.0
emotion version: 10.0.27
The text was updated successfully, but these errors were encountered:
Erwin0917
changed the title
Component name in className dosnt work when use CreateStyled
[babel-plugin] Component name in className dosnt work when use CreateStyled
Sep 7, 2020
The feature allowing for that has been implemented here: #1220 . It's already released in our v11 prereleases (available on npm) - there are no plans to ship this in v10. Please try out the v11 or just wait until we ship it as latest on npm.
Current behavior:
When extend EmotionTheme via CreateStyled plugin doesn't add an correct className. ClassName is like without plug => class="css-t0lbh8" instead class="css-t0lbh8-MyComponentName"
I styled files I import styled from my own config file. When i import from "@emotion/styled" plugin works correct.
Expected behavior:
Plugin search for all styled files.
Environment information:
react
version: 16.13.0emotion
version: 10.0.27The text was updated successfully, but these errors were encountered: