componente · @solu30/ui-kit/input
Switch
El componente, montado
Cargando el espécimen…
Cargando el chunk del paquete instalado…
De dónde se importa
import { Switch } from '@solu30/ui-kit/input'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| checked | opcional | boolean | — |
| onCheckedChange | opcional | (checked: boolean) => void | — |
| size | opcional | "sm" | "md" | — |
| disabled | opcional | boolean | — |
| indeterminate | opcional | boolean | — |
| className | opcional | string | — |
| id | opcional | string | — |
| name | opcional | string | — |