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