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
34 lines (33 loc) • 1.53 kB
TypeScript
import React from "react";
import { CometChat } from "@cometchat-pro/react-native-chat";
import { CometChatMessageTemplate } from "../shared/modals";
import { DataSource, DataSourceDecorator } from "../shared/framework";
import { CometChatTheme } from "../shared/resources/CometChatTheme";
import { CallingConfiguration } from "./CallingConfiguration";
export declare class CallingExtensionDecorator extends DataSourceDecorator {
configuration: CallingConfiguration;
loggedInUser: CometChat.User;
constructor(props: {
dataSource: DataSource;
configuration: CallingConfiguration;
});
getId(): string;
isDeletedMessage(message: CometChat.BaseMessage): boolean;
getAllMessageTypes(): string[];
getAllMessageCategories(): string[];
UserCallBubbleView: ({ message, theme }: {
message: any;
theme: any;
}) => React.JSX.Element;
getUserAudioCallTemplate: (theme: any) => CometChatMessageTemplate;
getUserVideoCallTemplates: (theme: any) => CometChatMessageTemplate;
GroupCallBubbleView: (props: {
message: CometChat.BaseMessage;
theme: CometChatTheme;
alignment: string;
}) => React.JSX.Element;
getAuxiliaryHeaderAppbarOptions(user: any, group: any, theme: CometChatTheme): React.JSX.Element;
getGroupCallTemplate: (theme: any) => CometChatMessageTemplate;
getAllMessageTemplates(theme: CometChatTheme): CometChatMessageTemplate[];
getLastConversationMessage(conversation: CometChat.Conversation): string;
}