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

38 lines (37 loc) 1.62 kB
/// <reference types="react" /> import { AvatarStyleInterface, ImageType, ListItemStyleInterface } from '../shared'; import { CometChatMessageHeaderInterface, MessageHeaderStyleInterface } from './CometChatMessageHeader'; import { CometChat } from '@cometchat-pro/react-native-chat'; import { StyleProp, ViewStyle } from 'react-native'; import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle'; export interface MessageHeaderConfigurationInterface extends Omit<CometChatMessageHeaderInterface, 'user' | 'group'> { } export declare class MessageHeaderConfiguration { SubtitleView?: ({ user, group, }: { user?: CometChat.User; group?: CometChat.Group; }) => JSX.Element; disableUsersPresence?: boolean; disableTyping?: boolean; protectedGroupIcon?: ImageType; privateGroupIcon?: ImageType; AppBarOptions?: ({ user, group, }: { user?: CometChat.User; group?: CometChat.Group; }) => JSX.Element; style?: MessageHeaderStyleInterface; backButtonIcon?: ImageType; hideBackIcon?: boolean; ListItemView?: ({ user, group, }: { user?: CometChat.User; group?: CometChat.Group; }) => JSX.Element; onBack?: () => void; listItemStyle?: ListItemStyleInterface; avatarStyle?: AvatarStyleInterface; statusIndicatorStyle?: StatusIndicatorStyleInterface; headViewContainerStyle?: StyleProp<ViewStyle>; bodyViewContainerStyle?: StyleProp<ViewStyle>; tailViewContainerStyle?: StyleProp<ViewStyle>; constructor(props: MessageHeaderConfigurationInterface); }