Interface: ChatTurnProps
Defined in: react/src/components/chat-turns.tsx:38
Properties
children?
optionalchildren?: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
undefinedto keep the default for that segment
className?
optionalclassName?:string
Defined in: react/src/components/chat-turns.tsx:46
renderMarkdown?
optionalrenderMarkdown?: (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