Name | Type | Description |
---|---|---|
group | Group Class | Ban members of this particular CometChat group |
Name | Type | Description |
---|---|---|
title | string | Heading text for the component |
titleAlignment | string | Alignment of the heading text for the component |
Name | Type | Description |
---|---|---|
searchPlaceholder | string | Sample text that appears in the search input as a prompt or suggestion |
searchIconURL | string | Asset URL for the search icon. |
hideSearch | boolean | When set to true, hides the search input. |
Name | Type | Description |
---|---|---|
loadingIconURL | string | Asset URL for the loading indicator icon |
loadingStateView | view | User-defined component to customise the loading indicator |
Name | Type | Description |
---|---|---|
emptyStateText | string | The textual content displayed in the empty state of the component. |
emptyStateView | view | User-defined component to customise the empty state of the component. |
Name | Type | Description |
---|---|---|
errorStateText | string | The textual content displayed in the error state of the component. |
errorStateView | view | User-defined component to customise the error state of the component. |
Name | Type | Description |
---|---|---|
searchRequestBuilder | CometChat.BannedMembersRequestBuilder | Class that allows you to set various parameters to the BannedMembersRequestBuilder class based on which the group members are searched |
bannedMembersRequestBuilder | CometChat.BannedMembersRequestBuilder | Class that allows you to set various parameters to the BannedMembersRequestBuilder class based on which the group members are fetched |
Name | Type | Description |
---|---|---|
unbanIconURL | string | Asset URL for the unban icon |
Name | Type | Description |
---|---|---|
hideError | boolean | When set to true, hides the error messages displayed within the component |
hideSeparator | boolean | When set to true, hides the separator between the individual elements in the list. |
disableUsersPresence | boolean | When set to true, Users will not be able to see whether a particular user is currently online or offline. |
Name | Type | Description |
---|---|---|
selectionMode | SelectionMode | Allows user to select individual or multiple items for applying specific operations. |
onSelect | Function as PropType<(bannedMember: CometChat.GroupMember[]) => void> | Method invoked which returns the selected group members. |
Name | Type | Description |
---|---|---|
subtitleView | Function as PropType<(bannedMember: CometChat.GroupMember) => ViewType> | User-defined component to customise the secondary text shown in the banned member profile. |
tailView | Function as PropType<(bannedMember: CometChat.GroupMember) => ViewType> | User-defined component to customise the trailing view of the banned member profile. |
Name | Type | Description |
---|---|---|
menu | view | User-defined component to showcase options related to the group members in the header section. |
Name | Type | Description |
---|---|---|
options | Function as PropType<(bannedMember: CometChat.GroupMember) => CometChatOption[]> | User-defined actions which appears for each banned member on mouseover. |
Name | Type | Description |
---|---|---|
onBack | Function as PropType<()=>void> | Override the method that is invoked when the user clicks on the back button. |
onError | Function as PropType<(error: CometChat.CometChatException) => void> | Override the method that is invoked when an error is encountered within the component |
Name | Type | Description |
---|---|---|
backButtonIconURL | string | Asset URL for the back button icon |
showBackButton | boolean | When set to true, displays the back button |
Name | Type | Description |
---|---|---|
avatarStyle | AvatarStyle | Styling properties and values of the Avatar component |
statusIndicatorStyle | StatusIndicator | Styling properties and values of the StatusIndicator component |
listItemStyle | ListItemStyle | Styling properties and values of the ListItem component |
bannedMembersStyle | BannedMembersStyle | Styling properties and values of the Banned Members component |
CometChatBannedMembers
component you have to add the listeners mentioned here.