Skip to main content

Interface: SelectionActionAnchorProps

Props for SelectionActionAnchor component.

See

SelectionActionAnchor

Extends

Properties

PropertyTypeDescriptionInherited from

anchorProps?

HTMLProps<HTMLAnchorElement>

Props for the inner <a> element.

Default:

{
role: 'button',
href: '{target.iri}',
target: '_blank',
rel: 'noreferrer',
}

className?

string

Additional CSS class for the component.

SelectionActionStyleProps.className

dock

DockDirection

Dock side direction for the action around the selected elements.

SelectionActionStyleProps.dock

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

SelectionActionStyleProps.dockColumn

dockRow?

number

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

SelectionActionStyleProps.dockRow

onSelect?

(target: EntityElement, e: MouseEvent<HTMLAnchorElement, MouseEvent>) => void

Handler to call when the action is selected.

title?

string

Title for the action button.

SelectionActionStyleProps.title