Skip to main content

Interface: SelectionProps

Props for Selection component.

See

Selection

Properties

PropertyTypeDescription

boxMargin?

number

Margin for the displayed bounding box over all the selected cells.

Default

5

children?

ReactNode

SelectionAction items representing available actions on the selected elements.

Default:

<>
<SelectionActionZoomToFit dock='nw' dockColumn={1} />
<SelectionActionLayout dock='nw' dockColumn={2} />
<SelectionActionGroup dock='nw' dockColumn={3} />
<SelectionActionRemove dock='ne' />
<SelectionActionConnections dock='e' />
<SelectionActionExpand dock='s' />
</>

itemMargin?

number

Margin for the displayed highlight box over each selected cell.

Default

2