File size: 431 Bytes
5365cac |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
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;
|