"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _extends2=require("babel-runtime/helpers/extends"),_extends3=_interopRequireDefault(_extends2),_Modal=require("./Modal"),_Modal2=_interopRequireDefault(_Modal),_confirm=require("./confirm"),_confirm2=_interopRequireDefault(_confirm);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}_Modal2.default.info=function(e){var r=(0,_extends3.default)({type:"info",iconType:"info-circle",okCancel:!1},e);return(0,_confirm2.default)(r)},_Modal2.default.success=function(e){var r=(0,_extends3.default)({type:"success",iconType:"check-circle",okCancel:!1},e);return(0,_confirm2.default)(r)},_Modal2.default.error=function(e){var r=(0,_extends3.default)({type:"error",iconType:"info-circle",okCancel:!1},e);return(0,_confirm2.default)(r)},_Modal2.default.warning=_Modal2.default.warn=function(e){var r=(0,_extends3.default)({type:"warning",iconType:"info-circle",okCancel:!1},e);return(0,_confirm2.default)(r)},_Modal2.default.confirm=function(e){var r=(0,_extends3.default)({type:"confirm",okCancel:!0},e);return(0,_confirm2.default)(r)},exports.default=_Modal2.default,module.exports=exports.default;