Replies: 1 comment
-
Meanwhile, i'm doing this as a workaround:
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to make variants mutually exclusive?
Here’s my problem: my button size can be either
rec
(rectangle) orsqr
(square). However, I need a way to unset the default rec size that I passed. Is there a way to do this?This example gives me the following output:
font-medium text-sm focus:outline-none text-nowrap text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-400 text-sm px-5 py-2.5 text-sm px-2.5 py-2.5 rounded-md
I need to unset
px-5 py-2.5
which is coming fromdefault-rec-md
.Beta Was this translation helpful? Give feedback.
All reactions