SuggestionItem
Unpublished development API. This package is under development and is not available as a published release.
A caller-authored literal suggestion with stable identity.
import type { SuggestionItem } from '@threadplane/react/chat';Declaration
export interface SuggestionItem {
readonly disabled?: boolean;
readonly id: string;
readonly label: string;
readonly value: string;
}Members
disabled
Prevents selection only when strictly true.
readonly disabled?: boolean;id
Stable, unique identity within the group.
readonly id: string;label
Literal visible button label.
readonly label: string;value
Exact value passed to onSelect without transformation.
readonly value: string;