Replies: 1 comment
-
I ran into a situation where my types looked like this (based on the type @arkmech put in the comment above):
This is how I implemented my component:
It'd be nice if this library had a type that did this discrimination already |
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
-
Example below with just TS. How do I emulate this with CVA in a way I can just use
VariantProps
Beta Was this translation helpful? Give feedback.
All reactions