New to KendoReactStart a free 30-day trial

Defines the props for the ChainOfThought component.

ChainOfThought groups an ordered sequence of Thought rows under one collapsible summary.

Extends React.HTMLAttributes<HTMLDivElement> to allow passing standard HTML attributes (e.g. className, style, id) directly to the root element.

Definition

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

Properties

completed?

boolean

Semantic lifecycle state of the group as a whole.

Default:

false

Initial expanded state in uncontrolled mode. Ignored when expanded is provided.

Default:

false

Sets whether the expandable header supports expanding and collapsing the thought rows. Forced to false whenever thoughts is empty, regardless of the value supplied.

Default:

false

expanded?

boolean

Controls whether thought rows are visible, in controlled mode.

label?

string

Group summary label.

Number of lines added across the group.

Number of lines removed across the group.

Callback fired when the user toggles the chain body.

Parameters:eventChainOfThoughtExpandedChangeEvent

Summary context, rendered next to label. Include timing text here when needed.

svgIcon?

SVGIcon

Group icon. Pass an icon object from @progress/kendo-svg-icons.

Default:

sparklesIcon

The ordered list of thought rows rendered inside the body.

Default:

[]

A custom component that replaces the default rendering of each Thought row. Receives the Thought item and its index via ThoughtTemplateProps.