react-native-chating-ui-kit
Version:
CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly
19 lines (18 loc) • 857 B
TypeScript
import React from 'react';
import { CometChat } from '@cometchat-pro/react-native-chat';
import { CometChatListProps, CometChatListStylesInterface, CometChatOptions } from '../shared';
import { ImageType } from '../shared';
export interface CometChatBannedMembersInterface extends Omit<CometChatListProps, 'requestBuilder' | 'listStyle' | 'title' | 'listItemKey' | 'options'> {
bannedMembersRequestBuilder?: CometChat.BannedMembersRequestBuilder;
group: CometChat.Group;
bannedMemberStyle?: CometChatListStylesInterface;
unbanIcon?: ImageType;
title?: string;
/**
*
*
* @description function which returns an array of CometChatOptions
*/
options?: (user: CometChat.User) => Array<CometChatOptions>;
}
export declare const CometChatBannedMembers: (props: CometChatBannedMembersInterface) => React.JSX.Element;