Debian Codegraph @

node/@patternfly/react-core/src/components/Wizard/examples/WizardProgressiveSteps.tsx

raw
1 import { Wizard, WizardStep } from '@patternfly/react-core';
2
3 export const WizardProgressiveSteps: React.FunctionComponent = () => (
4 <Wizard height={400} title="Progressive steps wizard" isProgressive>
5 <WizardStep id="progressive-step-1" name="Get started">
6 Get started content
7 </WizardStep>
8 <WizardStep id="progressive-step-2" name="Update options">
9 Update options content
10 </WizardStep>
11 <WizardStep
12 id="progressive-step-3"
13 name="Quick options"
14 steps={[
15 <WizardStep key="progressive-substep-1" id="progressive-substep-1" name="Substep 1">
16 Substep 1 content
17 </WizardStep>,
18 <WizardStep key="progressive-substep-2" id="progressive-substep-2" name="Substep 2">
19 Substep 2 content
20 </WizardStep>,
21 <WizardStep key="progressive-substep-3" id="progressive-substep-3" name="Substep 3">
22 Substep 3 content
23 </WizardStep>
24 ]}
25 />
26 <WizardStep id="progressive-step-4" name="Review" footer={{ nextButtonText: 'Finish' }}>
27 Review content
28 </WizardStep>
29 </Wizard>
30 );