DetailsTemplate
CometChatDetailsTemplate
is a pre-defined structure for creating a template data for the CometChatDetails
component.
Structure of CometChatDetailsTemplate
Name | Type | Description |
---|---|---|
id | string | Identifier for the template |
title | string | Heading text for the template |
titleFont | string | Sets all the different properties of font for the title text |
titleColor | string | Sets the foreground color of title text |
itemSeparatorColor | string | Sets the color of the template's option separator |
hideItemSeparator | boolean | When set to true, hides the separator under each option in a template |
sectionSeparatorColor | string | Sets the color of the template separator |
hideSectionSeparator | boolean | When set to true, hides the separator for the template |