Renders the title row of the pages the user menu and the bell lead to: settings, manage, notifications and every playlist.
f
PageHeader(unnamed 0: PageHeaderProps): React.JSX.Element
Renders the page's h1 with its icon, then children, as the first block of
a PageShell: a narrow one's PageGroups follow it, or the playlists
page's grid.
I
PageHeaderProps
Passed to PageHeader by Settings, Manage, Notifications and
Playlists.
-
children: ReactNode
It goes at the end of the row, such as the notifications' unread count or the playlists' category menu and order tabs.
-
icon: string
An emoji before the title, hidden from screen readers.
- title: ReactNode
Usage
import * as mod from "src/components/layout/PageHeader.tsx";