| checkbox |
component |
ts |
ui |
1.0.0 |
impure |
Checkbox(props: CheckboxProps): JSX.Element |
Input booleano accesible con label opcional y variante indeterminate. Mantine Checkbox. |
| checkbox |
| component |
| ui |
| interactive |
| form |
| mantine |
|
|
|
|
false |
|
|
Componente Checkbox que renderiza input booleano accesible con label opcional y estado indeterminate |
false |
|
|
frontend/functions/ui/checkbox.tsx |
| name |
type |
required |
description |
| label |
string |
false |
Texto de etiqueta visible junto al checkbox |
|
| name |
type |
required |
description |
| indeterminate |
boolean |
false |
Estado indeterminate (guion) en vez de checked/unchecked |
|
| name |
type |
required |
description |
| checked |
boolean |
false |
Estado controlado del checkbox |
|
| name |
type |
required |
description |
| defaultChecked |
boolean |
false |
Estado inicial no controlado |
|
| name |
type |
required |
description |
| disabled |
boolean |
false |
Deshabilita el checkbox |
|
| name |
type |
required |
description |
| onCheckedChange |
(checked: boolean) => void |
false |
Callback cuando cambia el estado |
|
|
|
false |
react |
|