mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: fixed issue with threshold translation #882 feat: add NodeContextMenu ### Type of change - [ ] New Feature (non-breaking change which adds functionality)
This commit is contained in:
20
web/src/pages/flow/flow-drawer/index.tsx
Normal file
20
web/src/pages/flow/flow-drawer/index.tsx
Normal file
@ -0,0 +1,20 @@
|
||||
import { IModalProps } from '@/interfaces/common';
|
||||
import { Drawer } from 'antd';
|
||||
|
||||
const FlowDrawer = ({ visible, hideModal }: IModalProps<any>) => {
|
||||
return (
|
||||
<Drawer
|
||||
title="Basic Drawer"
|
||||
placement="right"
|
||||
// closable={false}
|
||||
onClose={hideModal}
|
||||
open={visible}
|
||||
getContainer={false}
|
||||
mask={false}
|
||||
>
|
||||
<p>Some contents...</p>
|
||||
</Drawer>
|
||||
);
|
||||
};
|
||||
|
||||
export default FlowDrawer;
|
||||
Reference in New Issue
Block a user