mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 08:14:25 +01:00
chore(layout/right_pane): empty table of contents
This commit is contained in:
parent
dac923e45d
commit
98ed442d27
@ -6,6 +6,7 @@ import { useEffect } from "preact/hooks";
|
||||
|
||||
import options from "../../services/options";
|
||||
import { DEFAULT_GUTTER_SIZE } from "../../services/resizer";
|
||||
import TableOfContents from "./TableOfContents";
|
||||
|
||||
const MIN_WIDTH_PERCENT = 5;
|
||||
|
||||
@ -25,7 +26,7 @@ export default function RightPanelContainer() {
|
||||
|
||||
return (
|
||||
<div id="right-pane">
|
||||
Hi there.
|
||||
<TableOfContents />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
12
apps/client/src/widgets/sidebar/TableOfContents.tsx
Normal file
12
apps/client/src/widgets/sidebar/TableOfContents.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import { t } from "../../services/i18n";
|
||||
import RightPanelWidget from "./RightPanelWidget";
|
||||
|
||||
export default function TableOfContents() {
|
||||
|
||||
return (
|
||||
<RightPanelWidget title={t("toc.table_of_contents")}>
|
||||
Toc is here.
|
||||
</RightPanelWidget>
|
||||
);
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user