feat(components): Support passing shadow root as document

This commit is contained in:
Przemysław Żydek
2021-03-22 11:34:47 +01:00
parent e3cdecbafe
commit 96290483b1
9 changed files with 36 additions and 9 deletions
+2
View File
@@ -430,6 +430,8 @@ export interface ReactFlowState {
onConnectStart?: OnConnectStartFunc;
onConnectStop?: OnConnectStopFunc;
onConnectEnd?: OnConnectEndFunc;
document: Document | ShadowRoot;
}
export type UpdateNodeInternals = (nodeId: ElementId) => void;