function RoleChip
RoleChip(unnamed 0: { role: Role; }): React.JSX.Element | null

Renders the role badge next to the username in ProfileHeader, for moderators and admins only.

Parameters

unnamed 0: { role: Role; }

Return Type

React.JSX.Element | null

Usage

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