소스 검색

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