Interface: ConfirmStep
Defined in: tui/ink/wizard.tsx:51
A yes/no question; the answer is a boolean.
Extends
BaseStep
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
default? | FromAnswers<boolean> | - | - | tui/ink/wizard.tsx:53 |
message | FromAnswers<string> | - | BaseStep.message | tui/ink/wizard.tsx:23 |
name | string | Key of this step's answer in the result. | BaseStep.name | tui/ink/wizard.tsx:22 |
type | "confirm" | - | - | tui/ink/wizard.tsx:52 |
when? | (answers) => boolean | Skips the step (leaving no answer) when it returns false. | BaseStep.when | tui/ink/wizard.tsx:25 |