Interface: PasswordStep
Defined in: tui/ink/wizard.tsx:45
A line of text, masked while typed and in the summary.
Extends
BaseStep
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
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 | "password" | - | - | tui/ink/wizard.tsx:46 |
validate? | (value, answers) => string | true | - | - | tui/ink/wizard.tsx:47 |
when? | (answers) => boolean | Skips the step (leaving no answer) when it returns false. | BaseStep.when | tui/ink/wizard.tsx:25 |