diff --git a/src/container/ReactFlow/index.tsx b/src/container/ReactFlow/index.tsx index 92231b86..8618c5b4 100644 --- a/src/container/ReactFlow/index.tsx +++ b/src/container/ReactFlow/index.tsx @@ -50,7 +50,7 @@ export interface ReactFlowProps extends Omit, 'on onMoveStart?: (flowTransform?: FlowTransform) => void; onMoveEnd?: (flowTransform?: FlowTransform) => void; onSelectionChange?: (elements: Elements | null) => void; - onPaneClick?: () => void; + onPaneClick?: (evt: MouseEvent) => void; nodeTypes: NodeTypesType; edgeTypes: EdgeTypesType; connectionLineType: ConnectionLineType;