Skip to main content

Interface: ChatTurnProps

Defined in: react/src/components/chat-turns.tsx:38

Properties

children?

optional children?: ReactNode | ChatTurnSegmentChildren

Defined in: react/src/components/chat-turns.tsx:45

  • Omit: default body (user text / SegmentRenderer for assistant segments)
  • ReactNode: replace the entire turn body
  • Function: per-segment override; return undefined to keep the default for that segment

className?

optional className?: string

Defined in: react/src/components/chat-turns.tsx:46


renderMarkdown?

optional renderMarkdown?: (content) => ReactNode

Defined in: react/src/components/chat-turns.tsx:47

Parameters

content

string

Returns

ReactNode


turn

turn: SegmentGroup

Defined in: react/src/components/chat-turns.tsx:39