@orangecheck/ui / OcLogoDropdownProps
Interface: OcLogoDropdownProps
Defined in: logo-dropdown.tsx:58
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-children"></a> children | ReactNode | Logo contents · typically <LogoMark /> + <span>oc·X</span>. | logo-dropdown.tsx:82 |
<a id="property-classname"></a> className? | string | className for the outer container. | logo-dropdown.tsx:84 |
<a id="property-current"></a> current | EcosystemSlug | Which property this site IS. Used to highlight the active row, route the active row's link to homeHref instead of the cross- domain absolute URL, and pick the category chip rendered next to the wordmark. | logo-dropdown.tsx:65 |
<a id="property-homehref"></a> homeHref? | string | The site's local home path (for the active row). Default /. Always a same-origin path — the logo's "go home" affordance is preserved by clicking the highlighted row. | logo-dropdown.tsx:71 |
<a id="property-popoverclassname"></a> popoverClassName? | string | className for the popover. | logo-dropdown.tsx:88 |
<a id="property-showownerentries"></a> showOwnerEntries? | boolean | When true, include the owner section (currently just oc·analytics) in the family list. Consumers pass this from their session: useOcSession().account?.isOwner ?? false. Defaults to false so non-owners never see the entry. Not a security boundary — analytics.ochk.io re-checks the live OWNER_OC_ADDRESSES env on every request. This prop only controls UX visibility. | logo-dropdown.tsx:99 |
<a id="property-sitestate"></a> siteState? | SiteState | Optional lifecycle state for this site. 'live' (default) renders no chip; 'alpha' and 'beta' render a small mono uppercase chip after the category badge. Drive this from your per-site config so one constant change ripples to every surface. | logo-dropdown.tsx:78 |
<a id="property-triggerclassname"></a> triggerClassName? | string | className for the trigger button. | logo-dropdown.tsx:86 |