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
+1
View File
@@ -3,6 +3,7 @@ import configureStore from './configure-store';
import { ReactFlowState, ConnectionMode } from '../types';
export const initialState: ReactFlowState = {
document: window.document,
width: 0,
height: 0,
transform: [0, 0, 1],