Skip to main content

ContactsConfiguration

This refers to the properties of the CometChatContacts component that are available for customisation via the parent component when the component exists in a deep nested hierarchy.

Configurable Properties

ParametersDescription
tabsList of tabs to be displayed
tabVisibilitySets which tabs needed to be visible or hidden
selectionModeAllows user to select one or more users / groups from the contact list
selectionLimitNumber of items user can select from the contact list
hideSubmitButtonWhen set to true, hides the submit button
onSubmitButtonClicktriggers when user clicks on the submit button of the Contacts component.
closeIconURLAsset URL for the close icon
onCloseOverride the method that is invoked when user clicks on the close icon
contactsStyleStyling properties of CometChatContacts component
UsersConfigurationProperties of the CometChatUsers component that are available for customisation via the CometChatContacts component
GroupsConfigurationProperties of the CometChatGroups component that are available for customisation via the CometChatContacts component