componente · @solu30/ui-kit/input
Button
El componente, montado
Cargando el espécimen…
Cargando el chunk del paquete instalado…
De dónde se importa
import { Button } from '@solu30/ui-kit/input'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| variant | opcional | "primary" | "secondary" | "ghost" | "danger" | "outline" | "gradient" | "link" | "warning" | "destructive" | "success" | "default" | — |
| size | opcional | "xs" | "sm" | "md" | "lg" | "icon" | — |
| loading | opcional | boolean | — |
| icon | opcional | ReactNode | ComponentType | — |
| iconRight | opcional | ReactNode | ComponentType | — |
| loadingText | opcional | string | — |
| fullWidth | opcional | boolean | — |
| asChild | opcional | boolean | — |