softchatjs-react
Version:
Install the softchat-js SDKs
27 lines (24 loc) • 755 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { Dispatch, SetStateAction } from 'react';
import ChatClient, { Message } from 'softchatjs-core';
type ConversationListProps = {
message: Message;
setEditDetails: Dispatch<SetStateAction<{
message: Message;
isEditing?: boolean;
isReplying?: boolean;
} | undefined>>;
canEdit?: boolean;
openEmojiPanel: () => void;
optionsMenuRef: any;
mousePosition: {
x: number;
y: number;
};
conversationId: string;
client: ChatClient;
closeOptionsMenu: () => void;
textInputRef: any;
};
declare const OptionsPanel: (props: ConversationListProps) => react_jsx_runtime.JSX.Element;
export { OptionsPanel as default };