import _extends from"babel-runtime/helpers/extends";import Modal from"./Modal";import confirm from"./confirm";Modal.info=function(n){var e=_extends({type:"info",iconType:"info-circle",okCancel:!1},n);return confirm(e)},Modal.success=function(n){var e=_extends({type:"success",iconType:"check-circle",okCancel:!1},n);return confirm(e)},Modal.error=function(n){var e=_extends({type:"error",iconType:"info-circle",okCancel:!1},n);return confirm(e)},Modal.warning=Modal.warn=function(n){var e=_extends({type:"warning",iconType:"info-circle",okCancel:!1},n);return confirm(e)},Modal.confirm=function(n){var e=_extends({type:"confirm",okCancel:!0},n);return confirm(e)};export default Modal;