GroupsConfiguration
This refers to the properties of the CometChatGroups
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. |
hideError | When set to true, hides the error messages displayed within the component. |
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. |
groupsRequestBuilder | Class that allows you to set various parameters to the GroupsRequest class based on which the groups are fetched |
searchRequestBuilder | Class that allows you to set various parameters to the GroupsRequest class based on which the users are searched |
hideSeparator | When set to true, hides the separator between the individual elements in the list. |
selectionMode | Allows user to select individual or multiple items for applying specific operations. |
onSelect | Method invoked which returns the selected groups. |
subtitleView | User-defined component to customise the secondary text shown in the default group profile. |
menu | User-defined component to showcase options related to the groups in the header section. |
options | User-defined actions which appears for each group on mouseover. |
onItemClick | Override the method that is invoked when user clicks on a individual item in the list |
onError | Override the method that is invoked when an error is encountered within the 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 |
groupsStyle | Styling properties and values of the CometChatGroups component |