Closed abernier closed 5 months ago
imagine a button with variants
but with some combinations should not be supported (by design team), for instance: intent=text/theme=candy
how would you prevent/handle those cases so TS yells at:
<Button intent="text" theme="candy" />
https://github.com/joe-bell/cva/blob/main/.github/ISSUE_TEMPLATE/bug_report.md?plain=1#L11
imagine a button with variants
but with some combinations should not be supported (by design team), for instance: intent=text/theme=candy
how would you prevent/handle those cases so TS yells at: