Browse Source

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

Daniel J. Geiger 2 years ago
parent
commit
3dd446dc15
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/element/types.ts

+ 1 - 0
src/element/types.ts

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