Skip to main content

MessageInformationStyle

Styling properties of CometChatMessageInformation 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
titleTextFontSets all the different properties of font for the heading text. Reference link
titleTextColorSets the foreground color of heading text.
emptyStateTextFontSets all the different properties of font for the placeholder text. Reference link
emptyStateTextColorSets the foreground color of placeholder text displayed in the component.
errorStateTextFontSets all the different properties of font for the error message. Reference link
errorStateTextColorSets the foreground color of error message displayed in the component
loadingIconTintSets the tint or color applied to the loading indicator icon of the component
readIconTintSets the tint or color applied to the icon representing the read status of the message in the component
deliveredIconTintSets the tint or color applied to the icon representing the delivered status of the message in the component
dividerTintSets the background style properties for the separator between the individual items. Reference link
subtitleTextFontSets all the different properties of font for the secondary text of each message receipt. Reference link
subtitleTextColorSets the foreground color of the secondary text of each message receipt
captionTextFontSets all the different properties of font for the caption text of each section. Reference link
captionTextColorSets the foreground color for the caption text of each section