Preparing search index...
The search index is not available
@shopify/cli-kit
@shopify/cli-kit
node/ui
RenderAutocompleteOptions
Interface RenderAutocompleteOptions<T>
interface
RenderAutocompleteOptions
<
T
>
{
abortSignal
?:
AbortSignal
;
choices
:
Item
<
T
>
[]
;
hasMorePages
?:
boolean
;
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
[]
;
message
:
Message
;
renderOptions
?:
RenderOptions
;
search
?:
(
term
:
string
)
=>
Promise
<
SearchResults
<
T
>
>
;
}
Type Parameters
T
Hierarchy
PartialBy
<
Omit
<
AutocompletePromptProps
<
T
>
,
"onSubmit"
>
,
"search"
>
RenderAutocompleteOptions
Index
Properties
abort
Signal?
choices
has
More
Pages?
info
Message?
info
Table?
message
render
Options?
search?
Properties
Optional
abort
Signal
abortSignal
?:
AbortSignal
choices
choices
:
Item
<
T
>
[]
Optional
has
More
Pages
hasMorePages
?:
boolean
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
[]
message
message
:
Message
Optional
render
Options
renderOptions
?:
RenderOptions
Optional
search
search
?:
(
term
:
string
)
=>
Promise
<
SearchResults
<
T
>
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
abort
Signal
choices
has
More
Pages
info
Message
info
Table
message
render
Options
search
@shopify/cli-kit
Loading...