|
|
@@ -5,12 +5,14 @@ export function AppShell({
|
|
|
children,
|
|
|
onRefresh,
|
|
|
showBack,
|
|
|
- toolbarLeading
|
|
|
+ toolbarLeading,
|
|
|
+ centerNav
|
|
|
}: {
|
|
|
children: React.ReactNode;
|
|
|
onRefresh?: () => void;
|
|
|
showBack?: boolean;
|
|
|
toolbarLeading?: React.ReactNode;
|
|
|
+ centerNav?: React.ReactNode;
|
|
|
}) {
|
|
|
return (
|
|
|
<main className="app-shell">
|
|
|
@@ -27,6 +29,7 @@ export function AppShell({
|
|
|
<strong>ContentFindAgent</strong>
|
|
|
</Link>
|
|
|
</div>
|
|
|
+ {centerNav ? <div className="topbar-center">{centerNav}</div> : null}
|
|
|
<div className="toolbar">
|
|
|
{toolbarLeading}
|
|
|
<Link className="back-link" href="/config">
|