import React__default from 'react';
import IconFont from '../IconFont/index.js';
import Modal from '../Modal/index.js';
import '../_rollupPluginBabelHelpers-736b301a.js';
import '@zenview/micro-utils';
import 'antd';

function NoticeModal({
  className = '',
  width = 320,
  visible,
  onOk,
  title,
  desc,
  onCancel,
  confirmText = '确定要删除',
  confirmTitle = '确认删除',
  iconType = 'icon-XL_Delete',
  endMark = '?'
}) {
  return /*#__PURE__*/React__default.createElement(Modal, {
    className: className,
    cancelText: '取消',
    okText: '确认',
    visible: visible,
    onOk: onOk,
    onCancel: onCancel,
    title: confirmTitle,
    width: width
  }, /*#__PURE__*/React__default.createElement("p", {
    style: {
      textAlign: 'center',
      padding: '20px 0'
    }
  }, /*#__PURE__*/React__default.createElement(IconFont, {
    type: iconType,
    style: {
      fontSize: '64px'
    }
  })), /*#__PURE__*/React__default.createElement("p", {
    style: {
      textAlign: 'center'
    }
  }, confirmText, /*#__PURE__*/React__default.createElement("span", {
    className: "highlight"
  }, " ", title), " ", endMark), /*#__PURE__*/React__default.createElement("p", {
    style: {
      textAlign: 'center',
      paddingBottom: '20px'
    }
  }, desc));
}

export { NoticeModal as default };
//# sourceMappingURL=index.js.map
