mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-10-30 17:29:40 +00:00
21 lines
431 B
TypeScript
21 lines
431 B
TypeScript
|
|
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;
|