CheckboxProps beta
Interface of @v12-engine/client/kit
ts
export interface CheckboxPropsWhat a Checkbox is given: whether it is ticked, what is next to it, and what to do when it is clicked
Members
ark
ts
ark?: Partial<Omit<ArkCheckbox.RootProps, 'checked' | 'children' | 'class'>>;The rest of Ark's checkbox, which it is (name, readOnly...): Ark's own, not the kit's to promise
checked
ts
checked: boolean | 'mixed';Ticked, not, or neither ('mixed': of several things, some are and some are not)
children
ts
children?: JSX.Element;What it is of, said next to it: anything
class
ts
class?: string;For the line of the box and what it says
disabled
ts
disabled?: boolean;Whether it cannot be clicked: dimmed
onValue
ts
onValue: (checked: boolean) => void;Told whether it is now ticked; mixed counts as not, once clicked