Debian Codegraph @

node/@patternfly/react-core/src/components/ProgressStepper/examples/ProgressStepperBasicWithDescription.tsx

raw
1 import { ProgressStepper, ProgressStep } from '@patternfly/react-core';
2
3 export const ProgressStepperBasicWithDescription: React.FunctionComponent = () => (
4 <ProgressStepper aria-label="Basic progress stepper with description">
5 <ProgressStep
6 variant="success"
7 description="This is the first thing to happen"
8 id="basic-desc-step1"
9 titleId="basic-desc-step1-title"
10 aria-label="completed step, step with success"
11 >
12 First step
13 </ProgressStep>
14 <ProgressStep
15 variant="info"
16 isCurrent
17 description="This is the second thing to happen"
18 id="basic-desc-step2"
19 titleId="basic-desc-step2-title"
20 aria-label="step with info"
21 >
22 Second step
23 </ProgressStep>
24 <ProgressStep
25 variant="pending"
26 description="This is the last thing to happen"
27 id="basic-desc-step3"
28 titleId="basic-desc-step3-title"
29 aria-label="pending step"
30 >
31 Third step
32 </ProgressStep>
33 </ProgressStepper>
34 );