DotNaos UI
ChatMessages

List

Chat Message List from the Chat package.

Loading ChatMessageList…

Source code

Waiting for the preview before loading source files · 2 of 2

Properties

Public properties derived from the component’s TypeScript signature.

PropertyTypeDefault
messagesRequired
readonly ChatMessageData[]
emptyDescriptionOptional
string
"Messages will appear here."
emptyTitleOptional
string
"Start a conversation"
revealEarlierOptional
boolean
false
revealOptional
boolean
false
getMessageGroupKeyOptional
((message: ChatMessageData) => string | undefined)
onFormSubmitOptional
((submission: ChatFormSubmission) => void)
renderMessageOptional
((message: ChatMessageData) => ReactNode)
renderMessageGroupOptional
((messages: readonly ChatMessageData[]) => ReactNode)