Skip to main content

Interface: LinkActionProps

Props for LinkAction component.

See

LinkAction

Extends

Properties

PropertyTypeDescriptionInherited from

children?

ReactNode

Action content.

className?

string

Additional CSS class for the component.

LinkActionStyleProps.className

disabled?

boolean

Whether the action is disabled.

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).

LinkActionStyleProps.dockIndex

dockSide

"source" | "target"

Link endpoint to place the action.

LinkActionStyleProps.dockSide

onMouseDown?

(e: MouseEvent<Element, MouseEvent>) => void

Raw handler for mouse down event on the action button.

onSelect?

() => void

Handler to call when the action is selected.

title?

string

Title for the action button.

LinkActionStyleProps.title