Skip to content

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

ParameterType
contentChildBlock[]

Returns

Block

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

ParameterType
optionsSuggestionListProps
contentChildBlock[]

Returns

Block

Example

ts
SuggestionList([
  Suggestion({value: 'What is the weather?'}),
  Suggestion({value: 'Tell me a joke'}),
]);

Matterway Assistant SDK Documentation