@orangecheck/auth-client / OcAccountChipProps
Interface: OcAccountChipProps
Defined in: components.tsx:25
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-classname"></a> className? | string | className for the wrapper <div>. | components.tsx:45 |
<a id="property-dashboardurl"></a> dashboardUrl? | string | URL to the user's account dashboard. Defaults to https://ochk.io/dashboard, the canonical family target. | components.tsx:30 |
<a id="property-menuitemclassname"></a> menuItemClassName? | string | className for menu items (dashboard link + sign-out button). | components.tsx:51 |
<a id="property-popoverclassname"></a> popoverClassName? | string | className for the dropdown popover. | components.tsx:49 |
<a id="property-signinlabel"></a> signInLabel? | string | Label for the sign-in link shown to anonymous visitors. Defaults to sign in. | components.tsx:43 |
<a id="property-signinurl"></a> signInUrl? | string | Override the sign-in URL shown to anonymous visitors. Defaults to the session's signInUrl (which points at the auth host's /signin?return_to=… page). Set this to a local path like '/signin' when the consumer site mounts its own in-place <OcSignIn /> — skips the redirect-bounce entirely. | components.tsx:38 |
<a id="property-triggerclassname"></a> triggerClassName? | string | className for the trigger pill button. | components.tsx:47 |