Debian Codegraph @

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

raw
1 import { ProgressStepper, ProgressStep } from '@patternfly/react-core';
2
3 export const ProgressStepperBasicFailure: React.FunctionComponent = () => (
4 <ProgressStepper aria-label="Basic progress stepper with failure">
5 <ProgressStep
6 variant="success"
7 id="basic-with-failure-step1"
8 titleId="basic-with-failure-step1-title"
9 aria-label="completed step, step with success"
10 >
11 First step
12 </ProgressStep>
13 <ProgressStep
14 variant="success"
15 id="basic-with-failure-step2"
16 titleId="basic-with-failure-step2-title"
17 aria-label="completed step, step with success"
18 >
19 Second step
20 </ProgressStep>
21 <ProgressStep
22 variant="success"
23 id="basic-with-failure-step3"
24 titleId="basic-with-failure-step3-title"
25 aria-label="completed step, step with success"
26 >
27 Third step
28 </ProgressStep>
29 <ProgressStep
30 variant="danger"
31 isCurrent
32 id="basic-with-failure-step4"
33 titleId="basic-with-failure-step4-title"
34 aria-label="step with danger"
35 >
36 Fourth step
37 </ProgressStep>
38 <ProgressStep
39 variant="pending"
40 id="basic-with-failure-step5"
41 titleId="basic-with-failure-step5-title"
42 aria-label="pending step"
43 >
44 Fifth step
45 </ProgressStep>
46 </ProgressStepper>
47 );