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

@orangecheck/ui


@orangecheck/ui / OcLogoDropdownProps

Interface: OcLogoDropdownProps

Defined in: logo-dropdown.tsx:58

Properties

PropertyTypeDescriptionDefined in
<a id="property-children"></a> childrenReactNodeLogo contents · typically <LogoMark /> + <span>oc·X</span>.logo-dropdown.tsx:82
<a id="property-classname"></a> className?stringclassName for the outer container.logo-dropdown.tsx:84
<a id="property-current"></a> currentEcosystemSlugWhich 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?stringThe 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?stringclassName for the popover.logo-dropdown.tsx:88
<a id="property-showownerentries"></a> showOwnerEntries?booleanWhen 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?SiteStateOptional 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?stringclassName for the trigger button.logo-dropdown.tsx:86