Replies: 1 comment 1 reply
-
I guess this is intended to be this way? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am starting a new project with NativeBase, I have to say that it is incredibly comfortable to use, really intuitive and very easy to adapt.
I found that components can use variants, extending the component in the theme to be able to reuse some component styles without the need to generate a new atom component.
So I test this to make a layout stack called mainContainer:
But then I found that there are components that, although they support the use of variants (since this style works) have not included in their prop types the variant, so you get a ts error when the variant prop is included.
I'm doing something wrong?
It's intended to be a ts error on this components?
Beta Was this translation helpful? Give feedback.
All reactions