import React from 'react';
import { Modal as AntModal, ModalProps } from 'antd';
const Modal: React.FC<ModalProps> = ({ okText = '确认', ...rest }) => {
  return <AntModal {...{ ...rest, okText }}></AntModal>;
};
export type { ModalProps };
export default Modal;
