Skip to main content

Interface: SelectionActionStyleProps

Defined in: widgets/selectionAction.tsx:43

Base props for selection action components.

See

SelectionAction

Extended by

Properties

PropertyTypeDescription

className?

string

Additional CSS class for the component.

dock

DockDirection

Dock side direction for the action around the selected elements.

dockColumn?

number

Horizontal place shift for the action button (e.g. -1 for one place to the left, 1 for one place to the right).

dockRow?

number

Vertical place shift for the action button (e.g. -1 for one place above, 1 for one place below).

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.