Replies: 1 comment 4 replies
-
This should work when using our Babel plugin. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose I want to do this:
This doesn't work. I want
Inner
to have certain styles only if it's a child ofWrapper
. My actual use-case is a bit more complicated than this, but this is what it boils down to, leading me to look for a way to refer to one component from within another, usingstyled
-definitions.Seeing how the above code will fail, what is the correct way to approach this?
Beta Was this translation helpful? Give feedback.
All reactions