import React from 'react'; import { Wizard as WizardDeprecated } from '@breakaway/preact-core/deprecated'; export const WizardExpandableSteps: React.FunctionComponent = () => { const steps = [ { name: 'First step', steps: [ { name: 'Substep A', component:
Substep A content
}, { name: 'Substep B', component:Substep B content
} ] }, { name: 'Second step', component:Step 2 content
}, { name: 'Third step', steps: [ { name: 'Substep C', component:Substep C content
}, { name: 'Substep D', component:Substep D content
} ] }, { name: 'Fourth step', component:Step 4 content
}, { name: 'Review', component:Review step content
, nextButtonText: 'Finish' } ]; const title = 'Expandable wizard example'; return (