"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _compileClassNames = _interopRequireDefault(require("../libraries/compileClassNames"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var _default = function _default(customClassName) {
  var 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["default"].apply(void 0, props.concat([_defineProperty({}, customClassName, !!isPlainClassName)]));
};

exports["default"] = _default;