mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Library improvements (#1925)
Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
29f803e25d
commit
cf36cb394b
8 changed files with 38 additions and 18 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue