Debian Codegraph @

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

raw
1 import { JumpLinks, JumpLinksItem } from '@patternfly/react-core';
2
3 export const JumpLinksWithLabel: React.FunctionComponent = () => (
4 <>
5 <JumpLinks label="Jump to first section in jump links with label example">
6 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
7 <JumpLinksItem href="#" isActive>
8 Active section
9 </JumpLinksItem>
10 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
11 </JumpLinks>
12 <JumpLinks isCentered label="Jump to second section in jump links with label example">
13 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
14 <JumpLinksItem href="#" isActive>
15 Active section
16 </JumpLinksItem>
17 <JumpLinksItem href="#">Inactive section</JumpLinksItem>
18 </JumpLinks>
19 </>
20 );