feat(react): basic handling of note context aware

This commit is contained in:
Elian Doran
2025-08-20 23:53:13 +03:00
parent afe3904ea3
commit 59486cd55d
4 changed files with 55 additions and 5 deletions

View File

@@ -1,7 +1,11 @@
import { useNoteContext } from "./react/hooks";
export default function NoteTitleWidget() {
const { ntxId, noteId, note } = useNoteContext();
return (
<>
<p>Hi</p>
<p>{ ntxId }{ noteId }</p>
</>
);
}