Skip to content

How to target an emotion component without styled? #2278

Answered by Andarist
osdiab asked this question in Q&A
Discussion options

You must be logged in to vote

Let's pretend that this would work:
https://codesandbox.io/s/friendly-pond-6vh23?file=/src/App.js

As you might notice - this would make an arbitrary component to be targeted and we wouldn't even be able to warn you about this.

This would also prevent style composition down the road:
https://codesandbox.io/s/jolly-hawking-gusdb?file=/src/App.js

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@osdiab
Comment options

Answer selected by osdiab
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants