Preparing search index...
The search index is not available
@shopify/cli-kit
@shopify/cli-kit
node/ui
RenderSelectPromptOptions
Interface RenderSelectPromptOptions<T>
interface
RenderSelectPromptOptions
<
T
>
{
abortSignal
?:
AbortSignal
;
choices
:
Item
<
T
>
[]
;
defaultValue
?:
T
;
infoMessage
?:
{
body
:
TokenItem
;
title
:
{
color
?:
LiteralUnion
<
(keyof ForegroundColor)
,
string
>
;
text
:
TokenItem
<
|
string
|
{
command
:
string
}
|
{
char
:
string
}
|
{
subdued
:
string
}
|
{
filePath
:
string
}
|
BoldToken
|
{
info
:
string
}
|
{
warn
:
string
}
|
{
error
:
string
}
,
>
;
}
;
}
;
infoTable
?:
{
[
header
:
string
]:
Items
}
|
InfoTableSection
[]
;
isConfirmationPrompt
?:
boolean
;
message
:
Message
;
renderOptions
?:
RenderOptions
;
}
Type Parameters
T
Hierarchy
Omit
<
SelectPromptProps
<
T
>
,
"onSubmit"
>
RenderSelectPromptOptions
Index
Properties
abort
Signal?
choices
default
Value?
info
Message?
info
Table?
is
Confirmation
Prompt?
message
render
Options?
Properties
Optional
abort
Signal
abortSignal
?:
AbortSignal
choices
choices
:
Item
<
T
>
[]
Optional
default
Value
defaultValue
?:
T
Optional
info
Message
infoMessage
?:
{
body
:
TokenItem
;
title
:
{
color
?:
LiteralUnion
<
(keyof ForegroundColor)
,
string
>
;
text
:
TokenItem
<
|
string
|
{
command
:
string
}
|
{
char
:
string
}
|
{
subdued
:
string
}
|
{
filePath
:
string
}
|
BoldToken
|
{
info
:
string
}
|
{
warn
:
string
}
|
{
error
:
string
}
,
>
;
}
;
}
Optional
info
Table
infoTable
?:
{
[
header
:
string
]:
Items
}
|
InfoTableSection
[]
Optional
is
Confirmation
Prompt
isConfirmationPrompt
?:
boolean
message
message
:
Message
Optional
render
Options
renderOptions
?:
RenderOptions
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
abort
Signal
choices
default
Value
info
Message
info
Table
is
Confirmation
Prompt
message
render
Options
@shopify/cli-kit
Loading...