Appearance
Function: SuggestionList()
Call Signature
ts
function SuggestionList(content: ChildBlock[]): Block;Defined in: src/renderer/blocks/index.ts:2093
Experimental
SuggestionList — horizontally-scrollable row of Suggestion chips.
Parameters
| Parameter | Type |
|---|---|
content | ChildBlock[] |
Returns
Example
ts
SuggestionList([
Suggestion({value: 'What is the weather?'}),
Suggestion({value: 'Tell me a joke'}),
]);Call Signature
ts
function SuggestionList(options: SuggestionListProps, content: ChildBlock[]): Block;Defined in: src/renderer/blocks/index.ts:2094
Experimental
SuggestionList — horizontally-scrollable row of Suggestion chips.
Parameters
| Parameter | Type |
|---|---|
options | SuggestionListProps |
content | ChildBlock[] |
Returns
Example
ts
SuggestionList([
Suggestion({value: 'What is the weather?'}),
Suggestion({value: 'Tell me a joke'}),
]);