Skip to content

Interface: SuggestionPillsProps

optional className?: string

Extra classes for the wrapping flex row (layout / spacing).


optional disabled?: 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.


optional onSelect?: (question) => void

Invoked with the question text when a pill is clicked.

string

void


questions: string[]

Questions to render as clickable pills. Empty renders nothing.