Skip to main content

DetailsStyle

Styling properties of the CometChatDetails component

NameTypeDescription
widthstringSets the width of the component
heightstringSets the height of the component
backgroundstringSets all background style properties at once, such as color, image, origin and size, or repeat method. Reference link
borderstringSets the border of the component
borderRadiusstringSets the border radius of the component
titleTextFontstringSets all the different properties of font for the title text
titleTextColorstringSets the foreground color of title text
subtitleTextColorstringSets all the different properties of font for the subtitle text
subtitleTextColorstringSets the foreground color of subtitle text
paddingstringSets the padding area on all four sides of the component.
closeButtonIconTintstringSets the color of the close icon of the component
onlineStatusColorstringSets the color of the status indicator representing the user's online status