Skip to main content

Interface: ToolbarActionStyleProps

Defined in: widgets/toolbarAction.tsx:27

Base props for toolbar action components.

See

ToolbarAction

Extended by

Properties

PropertyTypeDescription

className?

string

Additional CSS class for the component.

disabled?

boolean

Whether the action is disabled.

hotkey?

null | `Alt+${Capitalize<string>}` | `Meta+${Capitalize<string>}` | `Shift+${Capitalize<string>}` | `None+${Capitalize<string>}` | `Mod+${Capitalize<string>}` | `Ctrl+${Capitalize<string>}`

Keyboard hotkey for the action when it's mounted.

Passing null disables a default hotkey if there is one.

title?

string

Title for the action button or menu item.