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
15 lines (14 loc) • 997 B
TypeScript
/// <reference types="react" />
import { DataSource, DataSourceDecorator } from "../../shared/framework";
import { CometChat } from "@cometchat-pro/react-native-chat";
import { MessageBubbleAlignmentType } from "../../shared/constants/UIKitConstants";
import { CometChatTheme } from "../../shared/resources/CometChatTheme";
import { TextModerationConfigurationInterface } from "./TextModerationConfiguration";
export declare class TextModerationExtensionDecorator extends DataSourceDecorator {
textModerationConfiguration?: TextModerationConfigurationInterface;
constructor(dataSource: DataSource, textModerationConfiguration?: TextModerationConfigurationInterface);
getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
checkModeration(messageObject: CometChat.TextMessage): string;
getId(): string;
getLastConversationMessage(conversation: CometChat.Conversation): string;
}