feat(hooks): useUpdateNodeInternals #916

This commit is contained in:
moklick
2021-03-01 16:52:38 +01:00
parent 5a36bf68ac
commit 3613c7c81d
6 changed files with 133 additions and 0 deletions
+2
View File
@@ -425,3 +425,5 @@ export interface ReactFlowState {
onConnectStop?: OnConnectStopFunc;
onConnectEnd?: OnConnectEndFunc;
}
export type UpdateNodeInternals = (nodeId: ElementId) => void;