oc · docs
docs / documentation

@orangecheck/auth-client


@orangecheck/auth-client / OcAccountChip

Function: OcAccountChip()

function OcAccountChip(__namedParameters: OcAccountChipProps): any;

Defined in: components.tsx:68

Single header-account affordance for every ochk.io subdomain.

anonymous → "sign in" link signed in → pill bc1q…7ke3 ▾ that opens a popover with: • § signed in (label) • full address (monospace, break-all) • → dashboard • → sign out

The popover closes on outside click or Escape. Reasonable inline styles cover the dark-mode default; override per-part via the className props or via the [data-oc-account-chip-*] data attributes.

Parameters

ParameterType
__namedParametersOcAccountChipProps

Returns

any