| button |
component |
ts |
ui |
1.0.0 |
impure |
Button(props: ButtonProps & VariantProps<typeof buttonVariants>): JSX.Element |
Botón accesible con 6 variantes (default, outline, secondary, ghost, destructive, link) y 8 tamaños. Mantine Button. |
| button |
| component |
| ui |
| interactive |
| mantine |
|
|
|
|
false |
|
|
JSX.Element: botón renderizado con los estilos y comportamientos configurados |
false |
|
|
frontend/functions/ui/button.tsx |
| name |
type |
required |
description |
| variant |
'default' | 'outline' | 'secondary' | 'ghost' | 'destructive' | 'link' |
false |
Estilo visual del botón |
|
| name |
type |
required |
description |
| size |
'default' | 'xs' | 'sm' | 'lg' | 'icon' | 'icon-xs' | 'icon-sm' | 'icon-lg' |
false |
Tamaño del botón |
|
| name |
type |
required |
description |
| className |
string |
false |
Clases CSS adicionales |
|
|
|
false |
react |
| default |
| outline |
| secondary |
| ghost |
| destructive |
| link |
|
https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/Bl4cksmith/Frontend_Library |
MIT |
frontend/src/components/ui/button.tsx |