Is it possible to define a different class set based on one of the variants?
Eg. If a button has the below classes, is it possible for rounded to define a new set of classes for size so that if you provide rounded it could use something like sm: 'p-3' so that it is actually rounded.
Currently to achieve this you'd have to do something like <Button rounded className="p-3"> which makes the size somewhat useless.
Is it possible to define a different class set based on one of the variants?
Eg. If a button has the below classes, is it possible for
rounded
to define a new set of classes forsize
so that if you providerounded
it could use something likesm: 'p-3'
so that it is actually rounded.Currently to achieve this you'd have to do something like
<Button rounded className="p-3">
which makes thesize
somewhat useless.Maybe I'm missing something and this is already possible though?