fix(ButtonGroup): define its own size variant

This commit is contained in:
Benjamin Canac
2024-07-18 11:24:40 +02:00
parent 70b964f3a0
commit 0dfd8b3248
3 changed files with 9 additions and 3 deletions

View File

@@ -21,6 +21,13 @@ export const buttonGroupVariantWithRoot = {
export default {
base: 'relative',
variants: {
size: {
xs: '',
sm: '',
md: '',
lg: '',
xl: ''
},
orientation: {
horizontal: 'inline-flex -space-x-px',
vertical: 'flex flex-col -space-y-px'