refactor(resizeObserver): check if available

This commit is contained in:
moklick
2020-12-01 12:04:13 +01:00
parent 017d8222d9
commit 887ffbd0c4
3 changed files with 16 additions and 14 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ export interface WrapNodeProps {
snapToGrid?: boolean;
snapGrid?: SnapGrid;
isDragging?: boolean;
resizeObserver: ResizeObserver;
resizeObserver: ResizeObserver | null;
}
export type FitViewParams = {