Files
ragflow_python/web/src/pages/flow/chat/drawer.tsx
balibabu dec3bf7503 feat: pull the message list after sending the message successfully #918 (#1364)
### 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)
2024-07-04 09:55:08 +08:00

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;