import { createContext } from 'react';
export var getPrefixClassName = function getPrefixClassName(suffixCls, customPrefix, rootPrefixCls) {
  if (customPrefix) {
    return customPrefix;
  }

  var rootCls = rootPrefixCls || 'klein';
  return suffixCls ? "".concat(rootCls, "-").concat(suffixCls) : "".concat(rootCls);
};
export var ConfigContext = /*#__PURE__*/createContext({
  getPrefixClassName: getPrefixClassName,
  size: 'medium',
  direction: 'ltr'
});