function ProfileHeader
ProfileHeader(unnamed 0: ProfileHeaderProps): React.JSX.Element

Renders the avatar, username, role and inviter, and for a user from another instance, a link to their profile there. Visitors get a follow button. On their own profile, users change their avatar (PUT /api/me/avatar) and email (PATCH /api/me), unless their account comes from another instance, and invite someone; their settings, the site's tools and logging out are in the header's avatar menu.

Parameters

Return Type

React.JSX.Element

Usage

import { ProfileHeader } from "src/components/profile/ProfileHeader.tsx";