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
|
@ -277,7 +277,7 @@ export interface ExcalidrawProps {
|
|||
isMobile: boolean,
|
||||
appState: AppState,
|
||||
) => JSX.Element | null;
|
||||
renderFooter?: (isMobile: boolean, appState: AppState) => JSX.Element;
|
||||
renderFooter?: (isMobile: boolean, appState: AppState) => JSX.Element | null;
|
||||
langCode?: Language["code"];
|
||||
viewModeEnabled?: boolean;
|
||||
zenModeEnabled?: boolean;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue