Skip to main content

ChatEmptyStateProps

Agent Runtimes


Agent Runtimes / chat/display/EmptyState / ChatEmptyStateProps

Interface: ChatEmptyStateProps

Defined in: src/chat/display/EmptyState.tsx:32

Properties

brandIcon?

optional brandIcon?: ReactNode

Defined in: src/chat/display/EmptyState.tsx:36

Brand icon override (falls back to AiAgentIcon)


description

description: string

Defined in: src/chat/display/EmptyState.tsx:38

Description text for the subtitle


emptyState?

optional emptyState?: EmptyStateConfig

Defined in: src/chat/display/EmptyState.tsx:34

Empty-state configuration (icon, title, subtitle, render)


onSuggestionFill?

optional onSuggestionFill?: (message) => void

Defined in: src/chat/display/EmptyState.tsx:44

Called when a suggestion is clicked but should only fill the input

Parameters

message

string

Returns

void


onSuggestionSubmit?

optional onSuggestionSubmit?: (suggestion) => void

Defined in: src/chat/display/EmptyState.tsx:42

Called when a suggestion is clicked and should be auto-submitted

Parameters

suggestion

Suggestion

Returns

void


submitOnSuggestionClick?

optional submitOnSuggestionClick?: boolean

Defined in: src/chat/display/EmptyState.tsx:46

Whether clicking a suggestion auto-submits it


suggestions?

optional suggestions?: Suggestion[]

Defined in: src/chat/display/EmptyState.tsx:40

Suggestion pills