Skip to main content

ChatEmptyStateProps

Agent Runtimes


Agent Runtimes / chat/display/EmptyState / ChatEmptyStateProps

Interface: ChatEmptyStateProps

Defined in: chat/display/EmptyState.tsx:26

Properties

brandIcon?

optional brandIcon?: ReactNode

Defined in: chat/display/EmptyState.tsx:30

Brand icon override (falls back to AiAgentIcon)


description

description: string

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

Description text for the subtitle


emptyState?

optional emptyState?: EmptyStateConfig

Defined in: chat/display/EmptyState.tsx:28

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


onSuggestionFill?

optional onSuggestionFill?: (message) => void

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

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

Parameters

message

string

Returns

void


onSuggestionSubmit?

optional onSuggestionSubmit?: (suggestion) => void

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

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

Parameters

suggestion

Suggestion

Returns

void


submitOnSuggestionClick?

optional submitOnSuggestionClick?: boolean

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

Whether clicking a suggestion auto-submits it


suggestions?

optional suggestions?: Suggestion[]

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

Suggestion pills