live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/ui


@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

ParameterType
propsOcAccountMenuProps

Returns

any