OptionalcolorsCustom colors
OptionallabelsCustom labels
The local user's ID (for distinguishing own messages)
Array of messages to display
OptionalonCallback fired when an error occurs (e.g., timestamp formatting)
OptionalonCalled when a link inside a message body is clicked. Call
event.preventDefault() and navigate yourself to keep the link
in-app (e.g. same-origin links in an installed PWA, which browsers
would otherwise open in an in-app browser sheet). Without a handler
(or when the default isn't prevented) links open in a new tab.
OptionalrenderRender props for advanced customization
OptionalshowShow avatars for messages (default: true)
OptionalshowShow timestamps on messages (default: true)
OptionalstylesCustom styles
OptionalsxMUI sx styling prop
Props for the ChatMessageList component.