import React from 'react'; import { Wizard, WizardStep, WizardStepType, CustomWizardNavFunction, WizardNav, WizardNavItem } from '@breakaway/preact-core'; export const WizardWithCustomNav: React.FunctionComponent = () => { const nav: CustomWizardNavFunction = ( isExpanded: boolean, steps: WizardStepType[], activeStep: WizardStepType, goToStepByIndex: (index: number) => void ) => ( {steps.map((step) => ( goToStepByIndex(step.index)} /> ))} ); return ( Did you say...custom nav? Oh, you didn't? Well, this is awkward. ); };