Skip to main content

ContactsStyle

Styling properties of the CometChatContacts 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
boxShadowAdds shadow effects around the component.
paddingSets the padding on all sides of the component
titleTextFontSets all the different properties of font for the heading text. Reference link
titleTextColorSets the foreground color of heading text.
tabWidthSets the width of the tab item
tabHeightSets the height of the tab item
tabBorderSets the border of the tab item
tabBorderRadiusSets the border radius of the tab item
tabBackgroundSets all background style properties of tab item at once, such as color, image, origin and size, or repeat method. Reference link
tabTitleTextFontSets all the different properties of font for the heading text of tab item . Reference link
tabTitleTextColorSets the foreground color of the heading text of tab item.
activeTabBorderSets the border of the active tab item
activeTabBackgroundSets all background style properties of the active tab item at once, such as color, image, origin and size, or repeat method. Reference link
activeTabTitleTextFontSets all the different properties of font for the heading text of the active tab item . Reference link
activeTabTitleTextColorSets the foreground color of the heading text for the active tab item.
errorStateTextFontSets all the different properties of font for the error message. Reference link
errorStateTextColorSets the foreground color of error message displayed in the component.
selectionIconTintSets the tint or color applied to the select option of the component
closeIconTintSets the tint or color applied to the close icon of the component
submitButtonBackgroundSets the background of the submit button
submitButtonTextFontSets all the different properties of font for the text on the submit button. Reference link
submitButtonTextColorSets the foreground color of the text on the submit button