chat-frontend-library
Version:
``` npm install chat-frontend-library --save ```
23 lines (22 loc) • 903 B
TypeScript
import React, { FC } from "react";
import { IChatInformation } from "@api/chatApi";
import { TCombinedMessage } from "@components/ChatAndChatList/Chat";
import "./ExtendedChat.scss";
interface ExtendedChatProps {
setIsActiveEdit: React.Dispatch<React.SetStateAction<boolean>>;
isActiveEdit: boolean;
isActiveConversation: boolean;
setIsConversation: React.Dispatch<React.SetStateAction<boolean>>;
classHeader?: string;
classMessages?: string;
cbHandleCloseChat?: () => void;
isOnlyChat?: boolean;
initialChatId?: string;
chatInformation?: IChatInformation;
user_locale?: string;
tempMessage: TCombinedMessage | null;
setUploadTempMessage: React.Dispatch<React.SetStateAction<TCombinedMessage | null>>;
setIsUploading: React.Dispatch<React.SetStateAction<boolean>>;
}
declare const ExtendedChat: FC<ExtendedChatProps>;
export default ExtendedChat;