mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 03:34:43 +01:00
feat: add width, height as props to App.tsx (#1871)
This commit is contained in:
@@ -56,6 +56,8 @@ export const getDefaultAppState = (): AppState => {
|
||||
gridSize: null,
|
||||
editingGroupId: null,
|
||||
selectedGroupIds: {},
|
||||
width: window.innerWidth,
|
||||
height: window.innerHeight,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user