@orangecheck/ui / OcAccountMenu
Function: OcAccountMenu()
function OcAccountMenu(props: OcAccountMenuProps): any;
Defined in: account-menu.tsx:571
Connected variant — pulls the session from useOcSession(). This is
what every consumer site with <OcSessionProvider> mounted should
use. For sites running a parallel auth context (e.g. oc-www's local
useAuth), use <OcAccountMenuView> below and pass a session prop
directly.
Parameters
| Parameter | Type |
|---|---|
props | OcAccountMenuProps |
Returns
any