feat: fixed issue with threshold translation #882 and add NodeContextMenu (#906)

### 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:
balibabu
2024-05-23 18:53:04 +08:00
committed by GitHub
parent 1e5c5abe58
commit 4cda40c3ef
9 changed files with 263 additions and 57 deletions

View 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;