Getting started
CanKing
Workspace Panes
CLI
GUI Extensions SDK
Service Extensions SDK
Appendix
Kvaser CanKing GUI Extensions SDK v7.4.0
Kvaser CanKing GUI Extensions SDK / controls / ToggleButtonProps
Properties of a ToggleButton component displayed by the toolbar.
optional ariaLabel: string
optional
string
Aria label.
optional disabled: boolean
boolean
Set to true to disable this button.
icon: ReactNode
ReactNode
An icon that will be displayed in this button.
optional size: number | "small" | "medium" | "large"
number
"small"
"medium"
"large"
The button size.
optional tooltip: string
A tooltip of this button.
value: string
The value represented by this toggle button.