add export error handling (#2243)

This commit is contained in:
David Luzar 2020-10-16 11:53:40 +02:00 committed by GitHub
parent 25d460be96
commit 538f2be097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 60 additions and 40 deletions

View file

@ -23,7 +23,7 @@ type MobileMenuProps = {
appState: AppState;
actionManager: ActionManager;
exportButton: React.ReactNode;
setAppState: any;
setAppState: React.Component<any, AppState>["setState"];
elements: readonly NonDeletedExcalidrawElement[];
libraryMenu: JSX.Element | null;
onRoomCreate: () => void;