Debian Codegraph @

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

raw
1 import { Wizard, WizardStep } from '@patternfly/react-core';
2
3 export const WizardFocusOnNextBack: React.FunctionComponent = () => (
4 <Wizard shouldFocusContent title="Wizard that focuses content on next or back click">
5 <WizardStep name="Step 1" id="wizard-focus-first-step">
6 Step 1 content
7 </WizardStep>
8 <WizardStep name="Step 2" id="wizard-focus-second-step">
9 Step 2 content
10 </WizardStep>
11 <WizardStep name="Review" id="wizard-focus-review-step" footer={{ nextButtonText: 'Finish' }}>
12 Review step content
13 </WizardStep>
14 </Wizard>
15 );