前端: 添加Modal包装组件
This commit is contained in:
parent
99284ab320
commit
40599641f2
8
frontend/src/renderer/components/Modal.jsx
Normal file
8
frontend/src/renderer/components/Modal.jsx
Normal file
@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import { Modal as AntModal } from 'antd';
|
||||
|
||||
function Modal({ children, ...props }) {
|
||||
return <AntModal {...props}>{children}</AntModal>;
|
||||
}
|
||||
|
||||
export default Modal;
|
||||
Loading…
Reference in New Issue
Block a user