Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / CheckboxControlProps
Interface: CheckboxControlProps
Properties of the CheckboxControl React component.
Properties
checked
checked:
boolean
The current check state.
disabled?
optionaldisabled?:boolean
Set to true to disable this control.
disableTypography?
optionaldisableTypography?:boolean
If true, the label is rendered as it is passed without an additional typography node.
id?
optionalid?:string
The component id.
label
label:
string
A text label to be displayed.
onChange
onChange: (
checked) =>void
Callback that is called when the checked state has changed.
Parameters
checked
boolean
The new checked state.
Returns
void
size?
optionalsize?:"small"|"medium"
The optional size, defaults to ‘small’.
sx?
optionalsx?:SxProps<Theme>
Optional sx props.
typography?
optionaltypography?:TypographyProps
Props applied to the Typography wrapper of the passed label. This is unused if disableTypography is true.