Skip to content

@sqlrooms/ai-core / ChatSuggestionsItemProps

Type Alias: ChatSuggestionsItemProps

ChatSuggestionsItemProps = Omit<ActionButtonProps, "onActivate"> & object

Props for Item.

Type Declaration

NameTypeDescription
textstringThe suggestion's text.
submit?booleanSend text on activation instead of filling it into the prompt. Defaults to false (fill). Submitting reuses the composer's send, so — like fill — it overwrites a non-empty draft rather than appending to it.