feat: support creating text containers programatically

This commit is contained in:
Aakansha Doshi 2023-05-02 22:10:04 +05:30
parent 2a39d0b9a7
commit 15b5295baf
6 changed files with 105 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import { ExcalidrawElement } from "../element/types";
import { ExcalidrawElement, ExcalidrawTextContainer } from "../element/types";
import {
AppState,
BinaryFiles,
@ -8,6 +8,8 @@ import {
import type { cleanAppStateForExport } from "../appState";
import { VERSIONS } from "../constants";
import { ElementConstructorOpts } from "../element/newElement";
export interface ExportedDataState {
type: string;
version: number;