15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
|
import { ExcalidrawElement } from "./element/types";
|
||
|
|
||
|
export type AppState = {
|
||
|
draggingElement: ExcalidrawElement | null;
|
||
|
resizingElement: ExcalidrawElement | null;
|
||
|
elementType: string;
|
||
|
exportBackground: boolean;
|
||
|
currentItemStrokeColor: string;
|
||
|
currentItemBackgroundColor: string;
|
||
|
viewBackgroundColor: string;
|
||
|
scrollX: number;
|
||
|
scrollY: number;
|
||
|
name: string;
|
||
|
};
|