mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: support custom UI rendering inside export dialog (#3666)
* feat: support custom UI rendering inside export dialog * docs * add * remove assertion Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
0912fe1c93
commit
d63b6a3469
6 changed files with 25 additions and 16 deletions
|
@ -221,6 +221,11 @@ export type ExportOpts = {
|
|||
appState: AppState,
|
||||
canvas: HTMLCanvasElement | null,
|
||||
) => void;
|
||||
renderCustomUI?: (
|
||||
exportedElements: readonly NonDeletedExcalidrawElement[],
|
||||
appState: AppState,
|
||||
canvas: HTMLCanvasElement | null,
|
||||
) => JSX.Element;
|
||||
};
|
||||
|
||||
type CanvasActions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue