import compileClassNames from "../libraries/compileClassNames";
export default (function (customClassName) {
  let isPlainClassName = typeof customClassName === "string" ? true : false;

  for (var _len = arguments.length, props = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
    props[_key - 1] = arguments[_key];
  }

  return compileClassNames(...props, {
    [customClassName]: !!isPlainClassName
  });
});