Skip to content

Function: SuggestionList()

Call Signature

ts
function SuggestionList(content: ChildBlock[]): Block;

Defined in: packages/sdk/src/renderer/blocks/index.ts:2178

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: packages/sdk/src/renderer/blocks/index.ts:2179

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