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
Are style objects supported? They don't seem to work for me, and I can't find any examples in the issues or in the tests. I'm running the plugin using inside create-react-app using customize-cra, but I believe I have it (mostly) configured properly because when I change things into template literals, the namespace does get added correctly (both using styled and the css prop).
The text was updated successfully, but these errors were encountered:
The trailing semicolon seems to be necessary, probably related to #46 and #33 (comment).
This workaround seems to work for solving a variety of related issues—by wrapping things, I can pass in not just styled components, but other variables containing styles (plain strings, template literals, styles constructed with the css function, styles from twin.macro using tw).
Are style objects supported? They don't seem to work for me, and I can't find any examples in the issues or in the tests. I'm running the plugin using inside
create-react-app
usingcustomize-cra
, but I believe I have it (mostly) configured properly because when I change things into template literals, the namespace does get added correctly (both usingstyled
and the css prop).The text was updated successfully, but these errors were encountered: