oc · docs
docs / documentation

@orangecheck/design


@orangecheck/design / EcosystemSwitcherProps

Interface: EcosystemSwitcherProps

Defined in: chrome/ecosystem-switcher.tsx:174

Properties

PropertyTypeDescriptionDefined in
<a id="property-classname"></a> className?string-chrome/ecosystem-switcher.tsx:176
<a id="property-current"></a> currentEcosystemSlug-chrome/ecosystem-switcher.tsx:175
<a id="property-showownerentries"></a> showOwnerEntries?booleanWhen true, append the owner-only entries (currently oc·analytics) to the family-switcher dropdown. Consumers pass this from their session: useOcSession().account?.isOwner. Defaults to false so non-owners never see owner-only links. Not a security boundary — analytics.ochk.io re-checks the live OWNER_OC_ADDRESSES env on every request. This prop only decides whether the UX hint is visible.chrome/ecosystem-switcher.tsx:187