Name | Type | Description |
---|---|---|
title | string | Heading text for the component |
Name | Type | Description |
---|---|---|
tabs | TabItem[] | List of tabs to be displayed |
usersTabTitle | string | Heading text for the user list |
groupsTabTitle | string | Heading text for the group list |
tabVisibility | TabsVisibility | Sets which tabs needed to be visible or hidden |
Name | Type | Description |
---|---|---|
selectionMode | SelectionMode | Allows user to select one or more users / groups from the contact list |
selectionLimit | number | Number of items user can select from the contact list |
Name | Type | Description |
---|---|---|
onSubmitButtonClick | (users?:CometChat.User[], groups?:CometChat.Group[]) => void | Override the method that is invoked when user clicks on the submit button |
hideSubmitButton | boolean | When set to true, hides the submit button |
submitButtonText | string | Text appearing on the submit button |
Name | Type | Description |
---|---|---|
onItemClick | (user?:CometChat.User, group?:CometChat.Group) => void | Override the method that is invoked when user clicks on a particular contact |
onClose | ()=>void | Override the method that is invoked when user clicks on the close icon |
Name | Type | Description |
---|---|---|
closeIconURL | string | Asset URL for the close icon |
Name | Type | Description |
---|---|---|
contactsStyle | ContactsStyle | Styling properties and values of the Contacts component |
Name | Type | Description |
---|---|---|
usersConfiguration | UsersConfiguration | Properties of the users component that are available for customisation via this component. |
groupsConfiguration | GroupsConfiguration | Properties of the groups component that are available for customisation via this component. |