'use strict';

require('./dom/index.cjs');
var _class = require('./dom/class.cjs');

function getStatusClassNames(prefixCls, status, hasFeedback) {
  return _class.classNames({
    [`${prefixCls}-status-success`]: status === "success",
    [`${prefixCls}-status-warning`]: status === "warning",
    [`${prefixCls}-status-error`]: status === "error",
    [`${prefixCls}-status-validating`]: status === "validating",
    [`${prefixCls}-has-feedback`]: hasFeedback
  });
}
function getMergedStatus(contextStatus, customStatus) {
  return customStatus || contextStatus;
}

exports.getMergedStatus = getMergedStatus;
exports.getStatusClassNames = getStatusClassNames;
//# sourceMappingURL=statusUtils.cjs.map
