Description of icon
Flex UI
API Reference

MessageList

A component representing the list of messages. Can be themed with Theme.Chat.MessageList in Theme.


Component children#

KeyComponentConditionAlignDescription
typing-indicatorReact componentVisible when one or more participants are typing and the `showTypingIndicator` prop is set to `true`Typing indicator component. Displays `TypingIndicator` template when one participant is typing and TypingIndicatorMultiple template when multiple participants are typing
Twilio-WelcomeMessageReact componentWelcome message component. Displays an icon (`MessageBold`) and a welcome message text
predefinedMessageMessageListItemVisible is `predefinedMessage` prop is providedInitial message in the ChatWidget

Static Properties#

NameDescriptionType
Content

Dynamic content store

DynamicContentStore.<MessageList.MessageListChildrenProps>
Item

Shortcut for MessageListItem component

MessageListItem
WelcomeMessage

Shortcut for WelcomeMessage component

WelcomeMessage
defaultProps

Default properties

MessageList.MessageListChildrenProps

Need some help?