Interface: SuggestionPillsProps
Properties
Section titled “Properties”className?
Section titled “className?”
optionalclassName?:string
Extra classes for the wrapping flex row (layout / spacing).
disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Render the pills inert. Used while a thread’s history is still loading, where a click would start a turn against a transcript that has not arrived yet.
onSelect?
Section titled “onSelect?”
optionalonSelect?: (question) =>void
Invoked with the question text when a pill is clicked.
Parameters
Section titled “Parameters”question
Section titled “question”string
Returns
Section titled “Returns”void
questions
Section titled “questions”questions:
string[]
Questions to render as clickable pills. Empty renders nothing.