@marcosnbj/excalidraw
Version:
Excalidraw as a React component
14 lines (13 loc) • 659 B
TypeScript
import type { ActionManager } from "../actions/manager";
import type { AppClassProperties, BinaryFiles, UIAppState } from "../types";
import { NonDeletedExcalidrawElement } from "../element/types";
import "./ImageExportDialog.scss";
export declare const ErrorCanvasPreview: () => JSX.Element;
export declare const ImageExportDialog: ({ elements, appState, files, actionManager, onExportImage, onCloseRequest, }: {
appState: UIAppState;
elements: readonly NonDeletedExcalidrawElement[];
files: BinaryFiles;
actionManager: ActionManager;
onExportImage: AppClassProperties["onExportImage"];
onCloseRequest: () => void;
}) => JSX.Element;