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