mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: export restore API's from Excalidraw package (#3049)
This commit is contained in:
parent
e6cd97c4f2
commit
6cafb6bb90
4 changed files with 105 additions and 46 deletions
|
@ -141,7 +141,7 @@ export const restoreElements = (
|
|||
}, [] as ExcalidrawElement[]);
|
||||
};
|
||||
|
||||
const restoreAppState = (
|
||||
export const restoreAppState = (
|
||||
appState: ImportedDataState["appState"],
|
||||
localAppState: Partial<AppState> | null,
|
||||
): AppState => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue