feat: export restore API's from Excalidraw package (#3049)

This commit is contained in:
Aakansha Doshi
2021-02-15 18:52:04 +05:30
committed by GitHub
parent e6cd97c4f2
commit 6cafb6bb90
4 changed files with 105 additions and 46 deletions

View File

@ -141,7 +141,7 @@ export const restoreElements = (
}, [] as ExcalidrawElement[]);
};
const restoreAppState = (
export const restoreAppState = (
appState: ImportedDataState["appState"],
localAppState: Partial<AppState> | null,
): AppState => {