Skip to main content

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

NameDescription
closeButtonIconURLAsset URL for the close icon
disableUsersPresenceWhen set to true, Users will not be able to see whether a particular user is currently online or offline.
dataData model that serve as a starting point of the details component for a particular user
subtitleViewUser-defined component to customise the secondary text shown in the default user profile.
customProfileViewUser-defined component to customise user profile view.
hideProfileWhen set to true, the user profile view will be hidden
onCloseOverride the method that is invoked when user clicks on the close icon.
onErrorOverride the method that is invoked when an error is encountered within the details component
avatarStyleStyling properties and values of the Avatar component
statusIndicatorStyleStyling properties and values of the StatusIndicator component
listItemStyleStyling properties and values of the ListItem component
detailsStyleStyling properties and values of the CometChatDetails component