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

42 lines (41 loc) 2.27 kB
/// <reference types="react" /> import { GroupMemberConfigurationInterface } from '../CometChatGroupMembers/GroupMemberConfiguration'; import { GroupMembersStyleInterface } from '../CometChatGroupMembers/GroupMemberStyle'; import { CometChatTransferOwnershipInterface } from './CometChatTransferOwnership'; import { CometChat } from '@cometchat-pro/react-native-chat'; import { AvatarStyleInterface, CometChatListStylesInterface, ImageType, ListItemStyleInterface } from '../shared'; import { ListRenderItem, StyleProp, ViewStyle } from 'react-native'; import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle'; export interface TransferOwnershipConfigurationInterface extends Omit<CometChatTransferOwnershipInterface, 'group' | 'emptyStateText' | 'title' | 'errorStateText'> { } export declare class TransferOwnershipConfiguration { onTransferOwnership?: (group: CometChat.Group, ownershipTransferredMember: CometChat.User) => void; transferOwnershipStyle?: GroupMembersStyleInterface; groupMembersConfiguration?: GroupMemberConfigurationInterface; avatarStyle?: AvatarStyleInterface; backButtonIcon?: ImageType; bodyViewContainerStyle?: StyleProp<ViewStyle>; disableUsersPresence?: boolean; EmptyStateView?: React.FC; ErrorStateView?: React.FC; groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder; groupMemberStyle?: GroupMembersStyleInterface; headViewContainerStyle?: StyleProp<ViewStyle>; hideSearch?: boolean; hideSeparator?: boolean; listItemStyle?: ListItemStyleInterface; ListItemView?: ListRenderItem<any>; listStyle?: CometChatListStylesInterface; LoadingStateView?: React.FC; onBack?: () => void; onError?: (error: CometChat.CometChatException) => void; searchBoxIcon?: ImageType; searchPlaceholderText?: string; searchRequestBuilder?: CometChat.GroupMembersRequestBuilder; selectionIcon?: ImageType; showBackButton?: boolean; statusIndicatorStyle?: StatusIndicatorStyleInterface; SubtitleView?: (item: CometChat.GroupMember) => JSX.Element; tailViewContainerStyle?: (item: CometChat.GroupMember) => JSX.Element; constructor(props: TransferOwnershipConfigurationInterface); }