Skip to content

Commit

Permalink
fix(type): add type definition for onPaneClick
Browse files Browse the repository at this point in the history
  • Loading branch information
namack committed Aug 4, 2020
1 parent 09fee4c commit 92d8276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/container/ReactFlow/index.tsx
Expand Up @@ -50,7 +50,7 @@ export interface ReactFlowProps extends Omit<HTMLAttributes<HTMLDivElement>, '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;
Expand Down

0 comments on commit 92d8276

Please sign in to comment.