The parameters for the useWizardModal hook.
The fallback function to be called when an error occurs during rendering.
The pathname for the history object. Defaults to "/".
The history object. If not provided, a new memory history object will be created.
Determines whether the modal should be displayed in full screen. Defaults to true.
The function to be called when the wizard finishes loading.
The function to be called when the wizard starts loading.
Determines whether an error should be thrown when an error occurs during submission. Defaults to false.
The function to be called when the wizard state changes.
The function to be called when the wizard is submitted. Defaults to a function that returns true.
The function to be called when the wizard component is mounted.
The function to be called when the wizard component is unmounted.
The function to be called when the modal is closed.
The label for the submit button.
The title of the wizard modal.
Determines whether the modal should be hidden. Defaults to false.
Additional props to pass to the WizardOutletModal component.
Readonlyclose: () => Promise<boolean>Readonlyopen: (url?: string | URL, target?: string, features?: string) => null | WindowReadonlypickData: () => voidReadonlyrender: () => Element
useWizardModal is a custom hook that provides a modal component for wizards. It accepts various parameters and returns an object with functions and properties related to the wizard modal.