oc · docs
docs / documentation

@orangecheck/ui


@orangecheck/ui / EcosystemSwitcherProps

Interface: EcosystemSwitcherProps

Defined in: ecosystem-switcher.tsx:134

Properties

PropertyTypeDescriptionDefined in
<a id="property-classname"></a> className?string-ecosystem-switcher.tsx:136
<a id="property-current"></a> currentEcosystemSlug-ecosystem-switcher.tsx:135
<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.ecosystem-switcher.tsx:147