Renders the header of a user's profile, where the signed-in user also edits their own avatar and email.

Functions

f
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.

Interfaces

I
ProfileHeaderProps

Passed to ProfileHeader by UserPublicProfile, once loaded.