UserMenuProps
UserMenuProps =
object
Defined in: packages/ui/src/types.ts:1182
Props for the UserMenu component.
Header dropdown showing the current user’s avatar, name, email, role badge,
impersonation indicator, configurable navigation links, and sign-out action.
Reads user data from @cfast/auth’s useCurrentUser().
- UserMenuLink for the link configuration.
- AvatarWithInitialsProps for the avatar display.
- RoleBadgeProps for the role badge display.
Properties
Section titled “Properties”links?
Section titled “links?”
optionallinks:UserMenuLink[]
Defined in: packages/ui/src/types.ts:1184
Additional navigation links in the dropdown.
onSignOut()?
Section titled “onSignOut()?”
optionalonSignOut: () =>void
Defined in: packages/ui/src/types.ts:1186
Callback for the sign-out action.
Returns
Section titled “Returns”void