Skip to main content

Interface: ChatTurnProps

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

Properties​

children?​

optional children?: ReactNode | ChatTurnPartChildren

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

  • Omit: default body (each part through MessagePartRenderer)
  • ReactNode: replace the entire turn body
  • Function: per-part override; return undefined to keep the default for that part

className?​

optional className?: string

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


message​

message: UIMessage

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


renderMarkdown?​

optional renderMarkdown?: (content) => ReactNode

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

Parameters​

content​

string

Returns​

ReactNode