feat: add shareable viewonly links

This commit is contained in:
Aakansha Doshi 2021-02-20 01:47:03 +05:30
parent 74e82d0d7c
commit dcedba88a2
8 changed files with 67 additions and 22 deletions

View file

@ -180,6 +180,7 @@ export interface ExcalidrawProps {
}) => void;
onExportToBackend?: (
exportedElements: readonly NonDeletedExcalidrawElement[],
viewonly: boolean,
appState: AppState,
canvas: HTMLCanvasElement | null,
) => void;