| 1 |
import { Wizard as WizardDeprecated } from '@patternfly/react-core/deprecated'; |
| 2 |
|
| 3 |
export const WizardBasicWithDisabledSteps: React.FunctionComponent = () => { |
| 4 |
const steps = [ |
| 5 |
{ name: 'First step', component: <p>Step 1 content</p> }, |
| 6 |
{ name: 'Second step', component: <p>Step 2 content</p>, isDisabled: true }, |
| 7 |
{ name: 'Third step', component: <p>Step 3 content</p> }, |
| 8 |
{ name: 'Fourth step', component: <p>Step 4 content</p>, isDisabled: true }, |
| 9 |
{ name: 'Review', component: <p>Review step content</p>, nextButtonText: 'Finish' } |
| 10 |
]; |
| 11 |
const title = 'Basic wizard with disabled steps example'; |
| 12 |
return ( |
| 13 |
<WizardDeprecated navAriaLabel={`${title} steps`} mainAriaLabel={`${title} content`} steps={steps} height={400} /> |
| 14 |
); |
| 15 |
}; |