# InitWizardProps

Source: /tuil/docs/reference/components/initializer/init-wizard-props
Locale: en

InitWizardProps component contract.



{/* Generated by tooling/docs/generate-reference.ts. */}

## Type [#type]

```ts
export interface InitWizardProps {
  readonly initialName: string;
  readonly onComplete: (answers: InitAnswers) => void;
  readonly onCancel: () => void;
}
```

## Members [#members]

| Member        | Type                             | Required | Description                                                                 | Related types                                                  |
| ------------- | -------------------------------- | -------- | --------------------------------------------------------------------------- | -------------------------------------------------------------- |
| `initialName` | `string`                         | Yes      | The `initialName` member uses the `string` contract.                        | —                                                              |
| `onComplete`  | `(answers: InitAnswers) => void` | Yes      | The `onComplete` member uses the `(answers: InitAnswers) => void` contract. | [`InitAnswers`](/tuil/docs/reference/packages/cli/api/init-answers) |
| `onCancel`    | `() => void`                     | Yes      | The `onCancel` member uses the `() => void` contract.                       | —                                                              |

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/registry/blocks/init-wizard.tsx)
