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
24 lines (23 loc) • 1.56 kB
TypeScript
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 { CollaborativeWhiteboardConfigurationInterface } from "./CollaborativeWhiteboardConfiguration";
import { CometChatMessageComposerActionInterface } from "../../shared/helper/types";
import { CometChatMessageTemplate } from "../../shared/modals";
import React from 'react';
export declare class CollaborativeWhiteboardExtensionDecorator extends DataSourceDecorator {
whiteboardConfiguration?: CollaborativeWhiteboardConfigurationInterface;
whiteboardUrl: string;
loggedInUser: CometChat.User;
constructor(dataSource: DataSource, textModerationConfiguration?: CollaborativeWhiteboardConfigurationInterface);
isDeletedMessage(message: CometChat.BaseMessage): boolean;
getId(): string;
getLastConversationMessage(conversation: CometChat.Conversation): string;
getAllMessageCategories(): string[];
getAllMessageTypes(): string[];
getAttachmentOptions(user?: any, group?: any, composerId?: any): CometChatMessageComposerActionInterface[];
shareCollaborativeWhiteboard(user?: CometChat.User, group?: CometChat.Group): void;
getAllMessageTemplates(theme: CometChatTheme): CometChatMessageTemplate[];
getCollaborativeBubble(message: CometChat.BaseMessage, _alignment: MessageBubbleAlignmentType): React.JSX.Element;
}