# IWizardProps

## Definition

```tsx
interface IWizardProps {
    /**
     * A list of steps within the wizard.
     */
    steps: IWizardStep[];

    /**
     * What title should be shown on the 'next' button when we reach the last screen
     */
    completionTitle?: string;

    /**
     * This callback is run whenever they hit the final 'completion' action on the last step. It should be async so we can show a loading animation on the button
     */
    onComplete?: () => Promise<void>;
}
```

## Usage

```tsx
import { IWizardProps } from 'uxp/components';
```

## Related Types

* [IWizardStep](https://help.iviva.com/uxp/v5/additional-resources/types/iwizardstep)
* [IWizardStepProps](https://help.iviva.com/uxp/v5/additional-resources/types/iwizardstepprops)
