Answer
A component that renders an answer in Markdown format.
Basic example
Component API
Prop | Type | Description |
---|---|---|
className | string | Custom class name. |
answer | string | The answer to display, in Markdown format. |
state | ChatLoadingState | The loading state of the message. |
linkAs | string | ComponentType<any> | Component to use in place of <a>. Default: |