@excalidraw/excalidraw
Version:
Excalidraw as a React component
14 lines (13 loc) • 651 B
TypeScript
/// <reference types="react" />
import { ActionsManagerInterface } from "../actions/types";
import { NonDeletedExcalidrawElement } from "../element/types";
import { AppState, ExportOpts } from "../types";
import "./ExportDialog.scss";
export declare type ExportCB = (elements: readonly NonDeletedExcalidrawElement[], scale?: number) => void;
export declare const JSONExportDialog: ({ elements, appState, actionManager, exportOpts, canvas, }: {
appState: AppState;
elements: readonly NonDeletedExcalidrawElement[];
actionManager: ActionsManagerInterface;
exportOpts: ExportOpts;
canvas: HTMLCanvasElement | null;
}) => JSX.Element;