import React from 'react';
import { Modal } from 'antd';

interface editPros {
  visible: boolean;
  editCallback: () => void;
  params: any;
}

const Edit: React.FC<editPros> = (props) => {
  const { params, visible } = props;
  const onOk = () => {};
  const onCancel = () => {};
  return (
    <Modal
      title={`${params ? '编辑' : '新增'}`}
      open={visible}
      onOk={onOk}
      onCancel={onCancel}
      width={800}
    />
  );
};
export default Edit;
