AddMembersConfiguration
This refers to the properties of the CometChatAddMembers
component that are available for customisation via the parent component when the component exists in a deep nested hierarchy.
Configurable Properties
Parameters | Description |
---|---|
titleAlignment | Alignment of the heading text for the component |
searchIconURL | Asset URL for the search icon. |
hideSearch | When set to true, hides the search input. |
sectionHeaderKey | Method of the user class to display the section header |
showSectionHeader | When set to true, displays the header between the individual sections in the list. |
loadingIconURL | Asset URL for the loading indicator icon |
loadingStateView | User-defined component to customise the loading indicator |
emptyStateView | User-defined component to customise the empty state of the component. |
errorStateView | User-defined component to customise the error state of the component. |
searchRequestBuilder | Class that allows you to set various parameters to the UsersRequest class based on which the users are searched |
usersRequestBuilder | Class that allows you to set various parameters to the UsersRequest class based on which the users are fetched |
hideError | When set to true, hides the error messages displayed within the component |
hideSeparator | When set to true, hides the separator between the individual elements in the list. |
disableUsersPresence | When set to true, Users will not be able to see whether a particular user is currently online or offline. |
selectionMode | Allows user to select individual or multiple items for applying specific operations. |
onSelect | Method invoked which returns the selected users. |
subtitleView | User-defined component to customise the secondary text shown in the default user profile. |
menu | User-defined component to showcase options related to the group in the header section. |
options | User-defined actions which appears for each group on mouseover. |
onBack | Override the method that is invoked when the user clicks on the back button. |
onError | Override the method that is invoked when an error is encountered within the component |
backButtonIconURL | Asset URL for the back button icon |
onAddMembersButtonClick | Override the method that is invoked when the user clicks on the add members submit button |
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 |
addMembersStyle | Styling properties and values of the CometChatAddMembers component |