feat(layout/inline-title): title and icon

This commit is contained in:
Elian Doran 2025-12-13 11:33:02 +02:00
parent ac3d57d5da
commit 621ebe4396
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -2,4 +2,6 @@
contain: none;
padding-bottom: 2em;
padding-inline-start: 24px;
display: flex;
align-items: center;
}

View File

@ -3,6 +3,8 @@ import "./InlineTitle.css";
import { useEffect, useRef, useState } from "preact/hooks";
import FNote from "../../entities/fnote";
import NoteIcon from "../note_icon";
import NoteTitleWidget from "../note_title";
import { useNoteContext } from "../react/hooks";
export default function InlineTitle() {
@ -40,7 +42,8 @@ export default function InlineTitle() {
ref={containerRef}
className="inline-title-row"
>
Title goes here.
<NoteIcon />
<NoteTitleWidget />
</div>
);
}