Question: Split up variants #205
sarmad1995
started this conversation in
Ideas
Replies: 1 comment
-
Having a best practice way of doing this would be really great! |
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
-
I just wanted to know if there is any future scope for split variants, currently the variants sit in a single place and can bloat the theme.
Also while developing it doesn't make sense to switch to theme and component always.
Having close variants can also help in some design patterns.
Example
TextInput.ts
TextInput.variants.ts
Where the variants will be somehow imported in the main
Theme
.Beta Was this translation helpful? Give feedback.
All reactions