feat(examples): added an example for cancelling the connection

This commit is contained in:
Alireza Sheikholmolouki
2022-10-04 14:29:41 +02:00
parent 25d88893a2
commit ab9e340b7b
9 changed files with 176 additions and 0 deletions
+1
View File
@@ -222,6 +222,7 @@ export type ReactFlowActions = {
setMaxZoom: (maxZoom: number) => void;
setTranslateExtent: (translateExtent: CoordinateExtent) => void;
setNodeExtent: (nodeExtent: CoordinateExtent) => void;
cancelConnection: () => void;
reset: () => void;
};