import { NAME, pattern, UI, type VNode } from "commonfabric"; import Note from "../../notes/note.tsx"; // deno-lint-ignore no-empty-interface interface NoteStoryInput {} export interface NoteStoryOutput { [NAME]: string; [UI]: VNode; controls: VNode; } export default pattern(() => { const note = Note({ title: "Sample Note", content: "This is an **example** note with some content.\n\n- Item one\n- Item two\n- Item three", }); return { [NAME]: "Note Story", [UI]: (
{note}
), controls: (
No interactive controls. This story renders the Note pattern.
), }; });