Explorar el Código

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

Daniel J. Geiger hace 2 años
padre
commit
3dd446dc15
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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>;
 }>;