瀏覽代碼

feat: Add a `subtype?: string` property to `ExcalidrawElement`.

Daniel J. Geiger 2 年之前
父節點
當前提交
3dd446dc15
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/element/types.ts

+ 1 - 0
src/element/types.ts

@@ -65,6 +65,7 @@ type _ExcalidrawElementBase = Readonly<{
   updated: number;
   link: string | null;
   locked: boolean;
+  subtype?: string;
   customData?: Record<string, any>;
 }>;