| 1 |
import { ProgressStepper, ProgressStep } from '@patternfly/react-core'; |
| 2 |
|
| 3 |
export const ProgressStepperBasic: React.FunctionComponent = () => ( |
| 4 |
<ProgressStepper aria-label="Basic progress stepper"> |
| 5 |
<ProgressStep |
| 6 |
variant="success" |
| 7 |
id="basic-step1" |
| 8 |
titleId="basic-step1-title" |
| 9 |
aria-label="completed step, step with success" |
| 10 |
> |
| 11 |
First step |
| 12 |
</ProgressStep> |
| 13 |
<ProgressStep variant="info" isCurrent id="basic-step2" titleId="basic-step2-title" aria-label="step with info"> |
| 14 |
Second step |
| 15 |
</ProgressStep> |
| 16 |
<ProgressStep variant="pending" id="basic-step3" titleId="basic-step3-title" aria-label="pending step"> |
| 17 |
Third step |
| 18 |
</ProgressStep> |
| 19 |
</ProgressStepper> |
| 20 |
); |