mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: Allow null in renderFooter prop (#5282)
* fix: Allow null in render props * update docs
This commit is contained in:
parent
aabcdc20fd
commit
f1bc90e08a
5 changed files with 13 additions and 5 deletions
|
@ -32,7 +32,10 @@ type MobileMenuProps = {
|
|||
onPenModeToggle: () => void;
|
||||
canvas: HTMLCanvasElement | null;
|
||||
isCollaborating: boolean;
|
||||
renderCustomFooter?: (isMobile: boolean, appState: AppState) => JSX.Element;
|
||||
renderCustomFooter?: (
|
||||
isMobile: boolean,
|
||||
appState: AppState,
|
||||
) => JSX.Element | null;
|
||||
viewModeEnabled: boolean;
|
||||
showThemeBtn: boolean;
|
||||
onImageAction: (data: { insertOnCanvasDirectly: boolean }) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue