'use strict';

var classNames = require('./classNames.js');

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

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