@marcosnbj/excalidraw
Version:
Excalidraw as a React component
32 lines (31 loc) • 1.33 kB
TypeScript
import { ActionManager } from "../actions/manager";
import { ExcalidrawElement } from "../element/types";
import { AppClassProperties, AppProps, UIAppState, Zoom } from "../types";
import "./Actions.scss";
export declare const SelectedShapeActions: ({ appState, elements, renderAction, }: {
appState: UIAppState;
elements: readonly ExcalidrawElement[];
renderAction: ActionManager["renderAction"];
}) => JSX.Element;
export declare const ShapesSwitcher: ({ activeTool, appState, app, UIOptions, }: {
activeTool: UIAppState["activeTool"];
appState: UIAppState;
app: AppClassProperties;
UIOptions: AppProps["UIOptions"];
}) => JSX.Element;
export declare const ZoomActions: ({ renderAction, zoom, }: {
renderAction: ActionManager["renderAction"];
zoom: Zoom;
}) => JSX.Element;
export declare const UndoRedoActions: ({ renderAction, className, }: {
renderAction: ActionManager["renderAction"];
className?: string | undefined;
}) => JSX.Element;
export declare const ExitZenModeAction: ({ actionManager, showExitZenModeBtn, }: {
actionManager: ActionManager;
showExitZenModeBtn: boolean;
}) => JSX.Element;
export declare const FinalizeAction: ({ renderAction, className, }: {
renderAction: ActionManager["renderAction"];
className?: string | undefined;
}) => JSX.Element;