use Wizard Modal < Data , Payload > ( params ) : { close : ( ( ) => Promise < boolean > ) ; open : ( ( url ?: string | URL , target ?: string , features ?: string ) => WindowProxy | null ) ; pickData : ( ( ) => void ) ; render : ( ( ) => Element ) ; } Type Parameters Data extends {} = Record < string , any > Payload = any Returns { close : ( ( ) => Promise < boolean > ) ; open : ( ( url ?: string | URL , target ?: string , features ?: string ) => WindowProxy | null ) ; pickData : ( ( ) => void ) ; render : ( ( ) => Element ) ; }
An object with functions and properties related to the wizard modal.
Readonly
close : ( ( ) => Promise < boolean > ) ( ) : Promise < boolean > Returns Promise < boolean > open : ( ( url ?: string | URL , target ?: string , features ?: string ) => WindowProxy | null ) ( url ? , target ? , features ? ) : WindowProxy | null Parameters Optional
url : string | URL Optional
target : string Optional
features : string Returns WindowProxy | null pick Data : ( ( ) => void ) render : ( ( ) => Element ) ( ) : Element Returns Element Defined in packages/react-declarative/src/components/WizardView/hooks/useWizardModal.tsx:69
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.