[Feature Request] Support slot customizing within compoundVariants #4664
kurateh
started this conversation in
Feature requests
Replies: 4 comments
-
ENG-597 [Feature Request] Support slot customizing for compoundVariants |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same problem with any compoundVariants. It just doesn't apply the styles. Any updates on this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue here -- at least make a note in the docs saying this isn't supported@ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it being worked on here? |
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
-
Is your feature request related to a problem? Please describe.
related issue: #1692
Ex) I want to add xl size for
Input
. So...After looking at style source of
Input
, I realized that I needed to set multiple compountVariants to get the input to look right.So I tried:
But type of
compoundVariants[number]["class"]
cannot be object, I encountered a type error.In the example above, the
px
ofinputRapper
may be trivial, but for the label, the UI is significantly warped.It would be nice to be able to customize slots within
compoundVariants
.Or is there another way to do this that I'm not aware of?
Describe the solution you'd like
I expect to be able to customize the slot within
compoundVariants
.Describe alternatives you've considered
I can do this:
But in my case, I think it's better to use
extendVariants
.Screenshots or Videos
No response
Beta Was this translation helpful? Give feedback.
All reactions