componente · @solu30/ui-kit/navigation
ContextualSidebarContent
El componente, montado
Cargando el componente del paquete instalado…
Cargando el chunk del paquete instalado…
De dónde se importa
import { ContextualSidebarContent } from '@solu30/ui-kit/navigation'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| sections | sí | ContextualSidebarSection[] | — |
| activeItemId | opcional | string | — |
| activeSubItems | opcional | ContextualSidebarItem[] | — |
| subPanelLabel | opcional | string | — |
| onSubPanelBack | opcional | () => void | — |
| onNavigate | sí | (item: ContextualSidebarItem) => void | — |
| resolveIcon | opcional | (name: string) => ReactNode | — |
| collapsed | opcional | boolean | Defaults to NavigationProvider state when omitted. |
| subPanelAlwaysExpanded | opcional | boolean | ADR-077 — readable sub-panel labels even when rail collapsed. |
| collapsedMode | opcional | ContextualSidebarCollapsedMode | ADR-077 — collapsed rail mode. Default 'items'. |
| onSectionActivate | opcional | (section: ContextualSidebarSection) => void | ADR-077 — section drill-in callback for collapsedMode="sections". |
| openState | opcional | ContextualSidebarOpenState | ADR-027 addendum v2 — controlled open/closed state for `content`. |
| defaultOpenState | opcional | ContextualSidebarOpenState | ADR-027 addendum v2 — initial state when uncontrolled. |
| onOpenStateChange | opcional | (next: ContextualSidebarOpenState) => void | ADR-027 addendum v2 — emitted on every open/closed change. |
| decorativeGlow | opcional | boolean | Default `true` = current behavior. ADR-027 addendum v5. |
| sectionBadgeRollup | opcional | boolean | Default `false` = current behavior. ADR-027 addendum v6. |