DetailsConfiguration
This refers to the properties of the CometChatDetails
component that are available for customisation via the parent component when the component exists in a deep nested hierarchy.
Configurable Properties
Name | Description |
---|---|
closeButtonIconURL | Asset URL for the close icon |
disableUsersPresence | When set to true, Users will not be able to see whether a particular user is currently online or offline. |
data | Data model that serve as a starting point of the details component for a particular user |
subtitleView | User-defined component to customise the secondary text shown in the default user profile. |
customProfileView | User-defined component to customise user profile view. |
hideProfile | When set to true, the user profile view will be hidden |
onClose | Override the method that is invoked when user clicks on the close icon. |
onError | Override the method that is invoked when an error is encountered within the details component |
avatarStyle | Styling properties and values of the Avatar component |
statusIndicatorStyle | Styling properties and values of the StatusIndicator component |
listItemStyle | Styling properties and values of the ListItem component |
detailsStyle | Styling properties and values of the CometChatDetails component |