SelectOption
Defined in: packages/prompt/dist/index.d.mts:31
An option for select input.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Defined in: packages/prompt/dist/index.d.mts:47
If this option is disabled.
optionalhint?:string
Defined in: packages/prompt/dist/index.d.mts:43
A description of the option.
label:
string
Defined in: packages/prompt/dist/index.d.mts:35
The label (what gets displayed) of the select option.
value:
T
Defined in: packages/prompt/dist/index.d.mts:39
The value (what gets returned) of the select option.