From d377a4d1a4b254e8b5e02ff3c2830c3c0a6bd5f0 Mon Sep 17 00:00:00 2001 From: moklick Date: Fri, 15 Nov 2024 12:18:12 +0100 Subject: [PATCH] chore(react): pass edge type to IsValidConnection prop closes #4813 --- packages/react/src/types/component-props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/types/component-props.ts b/packages/react/src/types/component-props.ts index 623992b2..d04875d1 100644 --- a/packages/react/src/types/component-props.ts +++ b/packages/react/src/types/component-props.ts @@ -499,7 +499,7 @@ export interface ReactFlowProps true */ - isValidConnection?: IsValidConnection; + isValidConnection?: IsValidConnection; /** With a threshold greater than zero you can control the distinction between node drag and click events. * * If threshold equals 1, you need to drag the node 1 pixel before a drag event is fired.