Renders the frame of every page but the index and search pages, which
render AppHeader themselves.
f
PageShell(unnamed 0: PageShellProps): React.JSX.Element
Renders AppHeader, then the page's content as the <main>.
I
PageShellProps
Passed to PageShell by a page, around its content.
-
centered: boolean
Centers the content, for a lone card such as a form or an error.
- children: ReactNode
-
narrow: boolean
Narrows the content to the column the user menu's and the bell's pages share, under a
PageHeader.
Usage
import * as mod from "src/components/layout/PageShell.tsx";