Skip to main content

MessageListStyle

Styling properties of the CometChatMessageList component

NameDescription
widthSets the width of the component
heightSets the height of the component
borderSets the border of the component
borderRadiusSets the border radius of the component
backgroundSets all background style properties at once, such as color, image, origin and size, or repeat method. Reference link
loadingIconTintSets the tint or color applied to the loading indicator icon of the component
emptyStateTextFontSets all the different properties of font for the placeholder text.
emptyStateTextColorSets the foreground color of placeholder text displayed in the component.
errorStateTextFontSets all the different properties of font for the error message.
errorStateTextColorSets the foreground color of error message displayed in the component.
nameTextFontSets all the different properties of font for the message sender's name.
nameTextColorSets the foreground color of the message sender's name.
threadReplyTextFontSets all the different properties of font for the reply text.
threadReplyTextColorSets the foreground color of reply text within a threaded conversation.
threadReplyIconTintSets the tint or color applied to the icon associated with a reply within a threaded conversation.
timestampTextFontSets all the different properties of font for the timestamp text.
timestampTextColorSets the foreground color of timestamp text.