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
|
@ -387,15 +387,8 @@ const LayerUI = ({
|
|||
elements={elements}
|
||||
appState={appState}
|
||||
actionManager={actionManager}
|
||||
onExportToBackend={(elements) => {
|
||||
UIOptions.canvasActions.export.onExportToBackend &&
|
||||
UIOptions.canvasActions.export.onExportToBackend(
|
||||
elements,
|
||||
appState,
|
||||
canvas,
|
||||
);
|
||||
}}
|
||||
exportOpts={UIOptions.canvasActions.export}
|
||||
canvas={canvas}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue