### What problem does this PR solve? feat: pull the message list after sending the message successfully #918 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
23 lines
510 B
TypeScript
23 lines
510 B
TypeScript
import { IModalProps } from '@/interfaces/common';
|
|
import { Drawer } from 'antd';
|
|
import FlowChatBox from './box';
|
|
|
|
const ChatDrawer = ({ visible, hideModal }: IModalProps<any>) => {
|
|
return (
|
|
<Drawer
|
|
title="Debug"
|
|
placement="right"
|
|
onClose={hideModal}
|
|
open={visible}
|
|
getContainer={false}
|
|
width={window.innerWidth > 1278 ? '30%' : 470}
|
|
mask={false}
|
|
// zIndex={10000}
|
|
>
|
|
<FlowChatBox></FlowChatBox>
|
|
</Drawer>
|
|
);
|
|
};
|
|
|
|
export default ChatDrawer;
|