UNPKG

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

44 lines (43 loc) 2 kB
/// <reference types="react" /> import { ListRenderItem, StyleProp, ViewStyle } from 'react-native'; import { AvatarStyleInterface, CometChatListStylesInterface, CometChatOptions, ImageType, ListItemStyleInterface } from '../shared'; import { CometChatAddMembersInterface } from './CometChatAddMembers'; import { CometChat } from '@cometchat-pro/react-native-chat'; import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle'; export interface AddMembersConfigurationInterface extends Omit<CometChatAddMembersInterface, 'backButtonIcon' | 'emptyStateText' | 'errorStateText' | 'group'> { } export declare class AddMembersConfiguration { AppBarOptions?: React.FC; avatarStyle?: AvatarStyleInterface; bodyViewContainerStyle?: StyleProp<ViewStyle>; disableUsersPresence?: boolean; EmptyStateView?: React.FC; ErrorStateView?: React.FC; headViewContainerStyle?: StyleProp<ViewStyle>; hideError?: boolean; hideSearch?: boolean; hideSeparator?: boolean; listItemStyle?: ListItemStyleInterface; ListItemView?: ListRenderItem<any>; LoadingStateView?: React.FC; onBack?: () => void; onError?: (error: CometChat.CometChatException) => void; onItemLongPress?: Function; onItemPress?: Function; onSelection?: Function; options?: CometChatOptions[]; searchBoxIcon?: ImageType; searchPlaceholderText?: string; searchRequestBuilder?: CometChat.UsersRequestBuilder; selectionIcon?: ImageType; selectionMode?: 'none' | 'single' | 'multiple'; showBackButton?: boolean; statusIndicatorStyle?: StatusIndicatorStyleInterface; SubtitleView?: (item: CometChat.User) => JSX.Element; TailView?: (item: CometChat.User) => JSX.Element; tailViewContainerStyle?: StyleProp<ViewStyle>; title?: string; usersRequestBuilder?: CometChat.UsersRequestBuilder; usersStyle?: CometChatListStylesInterface; constructor(props: AddMembersConfigurationInterface); }