ControlButton

A button in the Controls component.

Props

NameDescriptionType
action
The function that is triggered when clicking the control button.
() => void
className?
The class name to style the control button.
string
disabled?
Whether the control button is active.
boolean
icon?
The url or element to be used as the button icon.
string | JSX_2.Element
tooltip?
The tooltip that is displayed when hovering the control button.
string