Renders a titled section of a profile page.
f
ProfileSection(unnamed 0: ProfileSectionProps): React.JSX.Element
Renders a .profile-section: its title row, children, then a
"View all →" link to viewAllHref.
I
ProfileSectionProps
Passed to ProfileSection by the profile's tabs, and by the settings and manage pages.
-
actions: ReactNode
They go at the end of the title row.
- children: ReactNode
- title: ReactNode
-
viewAllHref: string
It links to the page with the whole list, of which the section shows the first page. The profile leaves it out while the list is empty.
Usage
import * as mod from "src/components/profile/ProfileSection.tsx";