feat: allow customisation of how the select box works.

This commit is contained in:
Jack Fishwick
2022-11-22 11:05:45 +00:00
parent f25c7fe8a2
commit 09ebd0c84a
5 changed files with 18 additions and 2 deletions
@@ -45,6 +45,7 @@ const FlowRenderer = ({
onMoveEnd,
selectionKeyCode,
selectBoxOnDrag,
selectBoxMode,
onSelectionStart,
onSelectionEnd,
multiSelectionKeyCode,
@@ -123,6 +124,7 @@ const FlowRenderer = ({
onContextMenu={onContextMenu}
onWheel={onWheel}
isSelectionMode={isSelectionMode}
selectBoxMode={selectBoxMode}
>
{children}
{nodesSelectionActive && (