Browse Source

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

Daniel J. Geiger 2 năm trước cách đây
mục cha
commit
3dd446dc15
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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>;
 }>;