Checkbox
Native checkbox. Space and label clicks toggle it; Enter is not synthesized. ref and native attributes target input. readOnly prevents activation but retains focus and form participation. The owner controls validation/announcement timing.
Использование
Валидация
API
| Проп | Тип | По умолчанию | Описание |
|---|---|---|---|
label | ReactNode | — | — |
description | ReactNode | — | — |
validationMessage | ReactNode | — | — |
validationStatus | "default" | "error" | default | — |
indeterminate | boolean | | Mixed visual state; native activation clears it. |
Last updated on