ChainOfThoughtProps
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.
false
defaultExpanded?
boolean
Initial expanded state in uncontrolled mode. Ignored when expanded is provided.
false
expandable?
boolean
Sets whether the expandable header supports expanding and collapsing the thought rows.
Forced to false whenever thoughts is empty, regardless of the value supplied.
false
expanded?
boolean
Controls whether thought rows are visible, in controlled mode.
label?
string
Group summary label.
linesAdded?
number
Number of lines added across the group.
linesRemoved?
number
Number of lines removed across the group.
onExpandedChange?
(event: ChainOfThoughtExpandedChangeEvent) => void
Callback fired when the user toggles the chain body.
secondaryLabel?
string
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.
sparklesIcon
thoughtTemplate?
ComponentType<ThoughtTemplateProps>
A custom component that replaces the default rendering of each Thought row.
Receives the Thought item and its index via ThoughtTemplateProps.