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

19 lines (18 loc) 1.1 kB
/// <reference types="react" /> import { MessageComposerConfigurationInterface } from '../CometChatMessageComposer'; import { MessageListConfigurationInterface } from '../CometChatMessageList/MessageListConfiguration'; import { ImageType } from '../shared'; import { CometChatThreadedMessagesInterface, ThreadedMessagesStyleInterface } from './CometChatThreadedMessages'; import { CometChat } from '@cometchat-pro/react-native-chat'; export interface ThreadedMessagesConfigurationInterface extends Omit<CometChatThreadedMessagesInterface, 'parentMessage' | 'BubbleView' | 'title'> { } export declare class ThreadedMessagesConfiguration { threadedMessagesStyle?: ThreadedMessagesStyleInterface; closeIcon?: ImageType; MessageActionView?: (messageObject: CometChat.BaseMessage) => JSX.Element; messageComposerConfiguration?: MessageComposerConfigurationInterface; messageListConfiguration?: MessageListConfigurationInterface; onClose?: () => void; onError?: (error: CometChat.CometChatException) => void; constructor(props: ThreadedMessagesConfigurationInterface); }