feat(props): add mouse event to onNodeDragStart, onNodeDragStop, onElementClick, and onPaneClick
This commit is contained in:
@@ -10,7 +10,7 @@ interface EdgeRendererProps {
|
||||
edgeTypes: any;
|
||||
connectionLineType: ConnectionLineType;
|
||||
connectionLineStyle?: CSSProperties;
|
||||
onElementClick?: (element: Node | Edge) => void;
|
||||
onElementClick?: (evt: React.MouseEvent, element: Node | Edge) => void;
|
||||
arrowHeadColor: string;
|
||||
markerEndId?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user