chore(react/type_widget): move old widgets

This commit is contained in:
Elian Doran
2025-09-19 17:40:24 +03:00
parent 06bfb0073a
commit 1fb329565f
70 changed files with 15 additions and 12 deletions

View File

@@ -11,6 +11,9 @@ import NoteContext from "../components/note_context";
*/
type ExtendedNoteType = Exclude<NoteType, "launcher" | "text" | "code"> | "empty" | "readOnlyCode" | "readOnlyText" | "editableText" | "editableCode" | "attachmentDetail" | "attachmentList" | "protectedSession" | "aiChat";
/**
* The note detail is in charge of rendering the content of a note, by determining its type (e.g. text, code) and using the appropriate view widget.
*/
export default function NoteDetail() {
const { note, type } = useNoteInfo();