Files
PacketStation/frontend/src/components/Layout.tsx
T

17 lines
365 B
TypeScript
Raw Normal View History

import { Outlet } from "react-router";
import { TopBar } from "./TopBar";
/** Page frame: the top bar, then the routed page inside main.wrap. */
export function Layout() {
return (
<>
<TopBar>
<span className="proto">Rebuild preview</span>
</TopBar>
<main className="wrap" id="main">
<Outlet />
</main>
</>
);
}