ui/client/features/shell/components/RailSubTabs
Cockpit client (features), next. Source: ui/client/features/shell/components/RailSubTabs.tsx.
Functions#
RailSubTabs()#
RailSubTabs(
__namedParameters):Element|null
Defined in: ui/client/features/shell/components/RailSubTabs.tsx:18
The active screen's registered browser-region tabs (e.g. Features/Notes), stacked as more
vertical entries directly beneath the primary rail instead of a horizontal strip inside the
Browser pane's own header. Same column, same look as the rail links above them (reuses
.sh-rail-link) so the merged column reads as one continuous menu, not two stitched together.
Renders nothing when the active screen registers no browser tabs, so no empty divider shows
for a screen with nothing to switch between. The buttons keep the exact ids TabHost used to
render for its own tablist (tabHostPrefix), so the Browser pane's panel -- which now renders
with hideList and no tablist of its own -- still has a aria-labelledby target that exists,
just elsewhere in the DOM; ARIA does not require the two to be adjacent.
Props#
No documented props.
Returns#
Element | null