New to KendoReactStart a free 30-day trial

Thought

Interface

A single row rendered inside a ChainOfThought, supplied via the thoughts prop.

Thought is a public data type — it is not a separately rendered component.

Definition

Package:@progress/kendo-react-conversational-ui

Properties

completed?

boolean

Semantic lifecycle state of the thought row. false/omitted renders the active/in-progress treatment; true renders the finished treatment.

Default:

false

content

ReactNode

The body of the thought — the detailed explanation or result associated with the step. Accepts plain text or a custom ReactNode, such as a Citation list.

label

string

Short name for the thought step, such as "Read" or "Edited".

Example:
tsx
const thoughts: Thought[] = [{ label: 'Read', content: 'Read package.json' }];
<ChainOfThought thoughts={thoughts} />

Number of lines added by the thought, when the step represents an edit.

Number of lines removed by the thought, when the step represents an edit.

Supporting context, such as a file name, command, or line range.

svgIcon?

SVGIcon

Icon that identifies the thought operation or category. Pass an icon object from @progress/kendo-svg-icons.