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
14 lines (13 loc) • 954 B
TypeScript
/// <reference types="react" />
import { DataSource, DataSourceDecorator } from '../../shared/framework';
import { CometChat } from '@cometchat-pro/react-native-chat';
import { ImageBubbleStyleInterface } from '../../shared/views/CometChatImageBubble';
import { CometChatTheme } from '../../shared/resources/CometChatTheme';
import { ImageModerationConfigurationInterface } from './ImageModerationExtension';
export declare class ImageModerationExtensionDecorator extends DataSourceDecorator {
imageModerationConfiguration?: ImageModerationConfigurationInterface;
constructor(dataSource: DataSource, imageModerationConfiguration?: ImageModerationConfigurationInterface);
getId(): string;
isImageMessage(message: CometChat.BaseMessage): message is CometChat.MediaMessage;
getImageMessageBubble(imageUrl: string, caption: string, style: ImageBubbleStyleInterface, message: CometChat.MediaMessage, theme: CometChatTheme): JSX.Element;
}