Skip to content

Commit

Permalink
typings: add arg "event" to onSelectNode
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui1009 committed May 23, 2020
1 parent 7ecaccc commit f1002d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ declare module 'react-digraph' {
onDeleteNode: (selected: any, nodeId: string, nodes: any[]) => void;
onPasteSelected?: () => void;
onSelectEdge: (selectedEdge: IEdge) => void;
onSelectNode: (node: INode | null) => void;
onSelectNode: (node: INode | null, event: any) => void;
onSwapEdge: (sourceNode: INode, targetNode: INode, edge: IEdge) => void;
onUndo?: () => void;
onUpdateNode: (node: INode) => void;
Expand Down

0 comments on commit f1002d7

Please sign in to comment.