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) • 878 B
TypeScript
/// <reference types="react" />
import { CometChat } from "@cometchat-pro/react-native-chat";
import { DataSource, DataSourceDecorator } from "../../shared/framework";
import { LinkPreviewConfigurationInterface } from "./LinkPreviewConfiguration";
import { CometChatTheme } from "../../shared/resources/CometChatTheme";
import { MessageBubbleAlignmentType } from "../../shared/constants/UIKitConstants";
export declare class LinkPreviewExtentionDecorator extends DataSourceDecorator {
linkPreviewConfiguration?: LinkPreviewConfigurationInterface;
constructor(dataSource: DataSource, linkPreviewConfiguration?: LinkPreviewConfigurationInterface);
isDeletedMessage(message: CometChat.BaseMessage): boolean;
getId(): string;
getTextMessageContentView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignmentType, theme: CometChatTheme): JSX.Element;
}