Debian Codegraph @

node/@patternfly/react-core/src/components/JumpLinks/examples/JumpLinksExpandableVerticalWithSubsection.tsx

raw
1 import { JumpLinks, JumpLinksItem, JumpLinksList } from '@patternfly/react-core';
2
3 export const JumpLinksExpandableVerticalWithSubsection: React.FunctionComponent = () => (
4 <JumpLinks isVertical label="Jump to expandable vertical section" expandable={{ default: 'expandable' }}>
5 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
6 <JumpLinksItem href="#">
7 Section with active subsection
8 <JumpLinksList aria-label="Expandable vertical section subsection">
9 <JumpLinksItem href="#" isActive>
10 Active subsection
11 </JumpLinksItem>
12 <JumpLinksItem href="#">Inactive subsection</JumpLinksItem>
13 <JumpLinksItem href="#">Inactive subsection</JumpLinksItem>
14 </JumpLinksList>
15 </JumpLinksItem>
16 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
17 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
18 </JumpLinks>
19 );