@orangecheck/auth-client / OcAccountPill
Function: OcAccountPill()
function OcAccountPill(__namedParameters: OcAccountPillProps):
| ReactElement<any, string | JSXElementConstructor<any>>
| null;
Defined in: src/components.tsx:365
Shows the signed-in user as a short pill: bc1q…abcd sign out.
Renders nothing while loading or when no user is signed in — pair with
<OcSignInButton> for the anonymous case.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | OcAccountPillProps |
Returns
| ReactElement<any, string | JSXElementConstructor<any>>
| null