import { type ChangeEvent } from "react"; import { type IAccessibilityConfigBase } from "../../typings/accessibility.js"; /** * @internal */ export interface IUiCheckboxProps { checked: boolean; onChange?: (e: ChangeEvent) => void; preventDefault?: boolean; stopPropagation?: boolean; indeterminate?: boolean; disabled?: boolean; accessibilityConfig?: IAccessibilityConfigBase; tabIndex?: number; label?: string; /** * Id set on the native input. When omitted a stable id is generated. * Pass an explicit id when an ancestor renders its own * `