Skip to main content

Interface: HaloLinkProps

Props for HaloLink component.

See

HaloLink

Properties

PropertyTypeDescription

buttonMargin?

number

Margin between link action buttons based on the dockIndex order.

Default

5

buttonSize?

number

Size for each displayed link action button.

Default

20

children?

ReactNode

LinkAction items representing available actions on the selected link.

Default:

<>
<LinkActionMoveEndpoint dockSide='target' />
<LinkActionMoveEndpoint dockSide='source' />
<LinkActionEdit dockSide='target' dockIndex={1} />
<LinkActionDelete dockSide='target' dockIndex={2} />
<LinkActionRename />
</>

highlightMargin?

number

Margin for the highlight box under the selected link label.

Default

0