function UserMenu
UserMenu(unnamed 0: UserMenuProps): React.JSX.Element

Renders the signed-in user's avatar, which opens a menu with links to their profile, /playlists, /community and /settings, to /manage for those who hold category:manage or federation:manage, and a Log out button. A click outside or Escape closes it.

Parameters

unnamed 0: UserMenuProps

Return Type

React.JSX.Element

Usage

import { UserMenu } from "src/components/layout/UserMenu.tsx";