2026-05-06 12:49:35 +02:00
|
|
|
import PageSectionNav from './PageSectionNav'
|
|
|
|
|
|
2026-05-06 10:37:01 +02:00
|
|
|
/**
|
2026-05-06 12:49:35 +02:00
|
|
|
* Sub-Navigation mit Icon-Chips: gleiche Darstellung wie Stammdaten / Vereine (PageSectionNav).
|
|
|
|
|
* „Sub-Sub“ (z. B. Editor) bleibt in den jeweiligen Feature-Layouts.
|
2026-05-06 10:37:01 +02:00
|
|
|
*/
|
|
|
|
|
export default function AppSubnavShell({
|
|
|
|
|
ariaLabel,
|
|
|
|
|
items,
|
|
|
|
|
value,
|
|
|
|
|
onChange,
|
|
|
|
|
children,
|
|
|
|
|
iconSize = 18,
|
|
|
|
|
}) {
|
|
|
|
|
return (
|
2026-05-06 12:49:35 +02:00
|
|
|
<div className="app-subnav-shell">
|
|
|
|
|
<PageSectionNav
|
|
|
|
|
ariaLabel={ariaLabel}
|
|
|
|
|
value={value}
|
|
|
|
|
onChange={onChange}
|
|
|
|
|
items={items}
|
|
|
|
|
iconSize={iconSize}
|
|
|
|
|
className="page-section-nav--wrap"
|
|
|
|
|
/>
|
|
|
|
|
<div className="app-subnav-shell__main">{children}</div>
|
2026-05-06 10:37:01 +02:00
|
|
|
</div>
|
|
|
|
|
)
|
|
|
|
|
}
|