Skip to main content

Interface: LinkActionStyleProps

Defined in: src/widgets/linkAction.tsx:77

Base props for link action components.

See​

LinkAction

Extended by​

Properties​

PropertyTypeDescription

className?

string

Additional CSS class for the component.

dockIndex

number

Place shift for the action button from the dockSide endpoint towards another endpoint (e.g. 1 for one place towards link target if dockSide is `source).

dockSide

"source" | "target"

Link endpoint to place the action.

hotkey?

null | `Mod+${Capitalize<string>}` | `Ctrl+${Capitalize<string>}` | `Meta+${Capitalize<string>}` | `Alt+${Capitalize<string>}` | `Shift+${Capitalize<string>}` | `None+${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.