mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: move encrypted icon to excalidraw-app add separate animation for renderFooter
prop (#3577)
* fix: move encrypted icon to excalidraw-app * use grid & separate animation for custom footer * update docs * fix
This commit is contained in:
parent
78da4c075e
commit
6271a031a3
9 changed files with 133 additions and 103 deletions
|
@ -28,7 +28,7 @@ type MobileMenuProps = {
|
|||
onLockToggle: () => void;
|
||||
canvas: HTMLCanvasElement | null;
|
||||
isCollaborating: boolean;
|
||||
renderCustomFooter?: (isMobile: boolean) => JSX.Element;
|
||||
renderCustomFooter?: (isMobile: boolean, appState: AppState) => JSX.Element;
|
||||
viewModeEnabled: boolean;
|
||||
showThemeBtn: boolean;
|
||||
};
|
||||
|
@ -155,7 +155,7 @@ export const MobileMenu = ({
|
|||
<div className="panelColumn">
|
||||
<Stack.Col gap={4}>
|
||||
{renderCanvasActions()}
|
||||
{renderCustomFooter?.(true)}
|
||||
{renderCustomFooter?.(true, appState)}
|
||||
{appState.collaborators.size > 0 && (
|
||||
<fieldset>
|
||||
<legend>{t("labels.collaborators")}</legend>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue