Преглед изворни кода

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>;
 }>;