Replies: 1 comment
-
Try below approach as mentioned in the docs: Ex:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Try below approach as mentioned in the docs: Ex:
|
Beta Was this translation helpful? Give feedback.
-
Hi, I have a question about custom components with
styled
function. I want to know how to create custom component that works with both - web and native environments. Also, I have problems with typescript and variants.Let's take snippet below:
Questions:
acceptsClassName
there? I think not, because className is only for web and I want web and native.Types of property 'test' are incompatible.
Beta Was this translation helpful? Give feedback.
All reactions