@excalidraw/math
Version:
Excalidraw math functions
20 lines (19 loc) • 812 B
TypeScript
import type { ExcalidrawElement } from "@excalidraw/element/types";
export declare const actionToggleShapeSwitch: {
name: "toggleShapeSwitch";
label: string;
icon: () => null;
viewMode: true;
trackEvent: {
category: "shape_switch";
action: string;
};
keywords: string[];
perform(elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: any, app: import("../types").AppClassProperties): {
captureUpdate: "NEVER";
};
checked: (appState: Readonly<import("../types").AppState>) => boolean;
predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, props: import("../types").ExcalidrawProps) => boolean;
} & {
keyTest?: undefined;
};