Library improvements (#1925)

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Mohammed Salman 2020-07-20 00:12:56 +03:00 committed by GitHub
parent 29f803e25d
commit cf36cb394b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 18 deletions

View file

@ -24,6 +24,7 @@ type MobileMenuProps = {
exportButton: React.ReactNode;
setAppState: any;
elements: readonly NonDeletedExcalidrawElement[];
libraryMenu: JSX.Element | null;
onRoomCreate: () => void;
onUsernameChange: (username: string) => void;
onRoomDestroy: () => void;
@ -34,6 +35,7 @@ type MobileMenuProps = {
export const MobileMenu = ({
appState,
elements,
libraryMenu,
actionManager,
exportButton,
setAppState,
@ -66,6 +68,7 @@ export const MobileMenu = ({
title={t("toolBar.lock")}
/>
</Stack.Row>
{libraryMenu}
</Stack.Col>
)}
</Section>