UserMenuLink
UserMenuLink =
object
Defined in: packages/ui/src/types.ts:1162
A navigation link in the user menu dropdown.
When action is provided, the link is automatically hidden if the current
user lacks permission for that action (e.g., an “Admin” link gated on admin access).
UserMenuProps which accepts an array of these links.
Properties
Section titled “Properties”action?
Section titled “action?”
optionalaction:ClientDescriptor
Defined in: packages/ui/src/types.ts:1168
If provided, the link is hidden when the user lacks permission.
label:
string
Defined in: packages/ui/src/types.ts:1164
Display label.
to:
string
Defined in: packages/ui/src/types.ts:1166
Route path.