Skip to main content

DetailsTemplate

CometChatDetailsTemplate is a pre-defined structure for creating a template data for the CometChatDetails component.

Structure of CometChatDetailsTemplate

NameTypeDescription
idstringIdentifier for the template
titlestringHeading text for the template
titleFontstringSets all the different properties of font for the title text
titleColorstringSets the foreground color of title text
itemSeparatorColorstringSets the color of the template's option separator
hideItemSeparatorbooleanWhen set to true, hides the separator under each option in a template
sectionSeparatorColorstringSets the color of the template separator
hideSectionSeparatorbooleanWhen set to true, hides the separator for the template