chore(react/type_widgets): start porting canvas

This commit is contained in:
Elian Doran
2025-09-21 23:32:11 +03:00
parent e1ac319a7b
commit 592a8b2232
5 changed files with 78 additions and 78 deletions

View File

@@ -33,7 +33,8 @@ const TYPE_MAPPINGS: Record<ExtendedNoteType, () => Promise<{ default: TypeWidge
"attachmentList": async () => (await import("./type_widgets/Attachment")).AttachmentList,
"attachmentDetail": async () => (await import("./type_widgets/Attachment")).AttachmentDetail,
"readOnlyText": () => import("./type_widgets/text/ReadOnlyText"),
"render": () => import("./type_widgets/Render")
"render": () => import("./type_widgets/Render"),
"canvas": () => import("./type_widgets/Canvas")
// TODO: finalize the record.
};