Kvaser CanKing GUI Extensions SDK v7.6.1


Kvaser CanKing GUI Extensions SDK / controls / ToggleButtonProps

Interface: ToggleButtonProps

Properties of a ToggleButton component displayed by the toolbar.

Properties

ariaLabel?

optional ariaLabel?: string

Aria label.


disabled?

optional disabled?: boolean

Set to true to disable this button.


icon

icon: ReactNode

An icon that will be displayed in this button.


size?

optional size?: number | "small" | "medium" | "large"

The button size.


tooltip?

optional tooltip?: string

A tooltip of this button.


value

value: string

The value represented by this toggle button.