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
17 lines (16 loc) • 1.14 kB
TypeScript
import { DataSource, DataSourceDecorator } from '../../shared/framework';
import { CometChat } from '@cometchat-pro/react-native-chat';
import { ImageBubbleStyleInterface, VideoBubbleStyleInterface } from '../../shared/views';
import React from 'react';
import { CometChatTheme } from '../../shared/resources/CometChatTheme';
import { ThumbnailGenerationConfigurationInterface } from './ThumbnailGenerationExtension';
export declare class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator {
thumbnailGenerationConfiguration?: ThumbnailGenerationConfigurationInterface;
constructor(dataSource: DataSource, thumbnailGenerationConfiguration?: ThumbnailGenerationConfigurationInterface);
getId(): string;
checkThumbnail(message: any): {
uri: string;
};
getVideoMessageBubble(videoUrl: string, thumbnailUrl: string, message: CometChat.MediaMessage, theme: CometChatTheme, videoBubbleStyle: VideoBubbleStyleInterface): React.JSX.Element;
getImageMessageBubble(imageUrl: string, caption: string, style: ImageBubbleStyleInterface, message: CometChat.MediaMessage, theme: any): JSX.Element;
}