import './dom/index.mjs';
import { classNames } from './dom/class.mjs';

function getStatusClassNames(prefixCls, status, hasFeedback) {
  return 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;
}

export { getMergedStatus, getStatusClassNames };
//# sourceMappingURL=statusUtils.mjs.map
