import { useState } from 'react'; import { Button, Modal, ModalVariant, Wizard, WizardHeader, WizardStep } from '@patternfly/react-core'; export const WizardWithinModal: React.FunctionComponent = () => { const [isModelOpen, setIsModalOpen] = useState(false); return ( <> setIsModalOpen(false)} variant={ModalVariant.medium} > setIsModalOpen(false)} title="In modal wizard" header={ setIsModalOpen(false)} title="Wizard in modal" description="Simple wizard description" /> } > Step 1 content Step 2 content setIsModalOpen(false) }} > Review step content ); };