Variable: buttonVariantsConfig
constbuttonVariantsConfig:object
Defined in: lib/base/Button.tsx:15
Configuration object for button variants and sizes. Defines the styling variants and size options for the Button component.
Type declaration
defaultVariants
readonlydefaultVariants:object
defaultVariants.size
readonlysize:"default"='default'
defaultVariants.variant
readonlyvariant:"default"='default'
variants
readonlyvariants:object
variants.size
readonlysize:object
variants.size.default
readonlydefault:"h-10 px-4 py-2 native:h-12 native:px-5 native:py-2"='h-10 px-4 py-2 native:h-12 native:px-5 native:py-2'
variants.size.icon
readonlyicon:"h-10 w-10"='h-10 w-10'
variants.size.lg
readonlylg:"h-11 rounded-md px-8 native:h-14"='h-11 rounded-md px-8 native:h-14'
variants.size.sm
readonlysm:"h-9 rounded-md px-3"='h-9 rounded-md px-3'
variants.variant
readonlyvariant:object
variants.variant.default
readonlydefault:"bg-primary web:hover:opacity-90 active:opacity-90"='bg-primary web:hover:opacity-90 active:opacity-90'
variants.variant.destructive
readonlydestructive:"bg-destructive web:hover:opacity-90 active:opacity-90 border-destructive-darker border-2"='bg-destructive web:hover:opacity-90 active:opacity-90 border-destructive-darker border-2'
variants.variant.secondary
readonlysecondary:"border-2 border-secondary-darker bg-secondary web:hover:opacity-80 active:opacity-80"='border-2 border-secondary-darker bg-secondary web:hover:opacity-80 active:opacity-80'