New to KendoReactStart a free 30-day trial

Defines the props for the Reasoning component.

Reasoning displays a single reasoning/explanation step with an optional collapsible body. Body content (children) follows React convention; contentTemplate overrides its rendering.

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. false renders active/in-progress treatment; true renders the finished, reduced-emphasis treatment.

Default:

false

A custom component that replaces the default body content rendering. Receives the reasoning children via ReasoningContentTemplateProps.

The initial expanded state in uncontrolled mode. Ignored when expanded is provided.

Default:

false

Whether the head exposes disclosure behavior (a toggle affordance).

Default:

false

expanded?

boolean

Controls the expanded state of the body in controlled mode. Use together with onExpandedChange.

label?

string

Summary label in the head.

Default:

"Reasoning"

Callback fired when the user toggles the reasoning body.

Parameters:eventReasoningExpandedChangeEvent

Secondary descriptive text (subtle), rendered next to label. Include timing text here when needed.

svgIcon?

SVGIcon

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

Default:

sparklesIcon