2020-01-06 20:24:54 +04:00
|
|
|
import { ExcalidrawElement } from "./element/types";
|
|
|
|
|
|
|
|
export type AppState = {
|
|
|
|
draggingElement: ExcalidrawElement | null;
|
|
|
|
resizingElement: ExcalidrawElement | null;
|
|
|
|
elementType: string;
|
|
|
|
exportBackground: boolean;
|
|
|
|
currentItemStrokeColor: string;
|
|
|
|
currentItemBackgroundColor: string;
|
2020-01-07 22:21:05 +05:00
|
|
|
currentItemFont: string;
|
2020-01-06 20:24:54 +04:00
|
|
|
viewBackgroundColor: string;
|
|
|
|
scrollX: number;
|
|
|
|
scrollY: number;
|
|
|
|
name: string;
|
|
|
|
};
|