"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isActiveClass = void 0;
var isActiveClass = exports.isActiveClass = function isActiveClass(defaultClass) {
  return function (props) {
    return {
      className: props.isCurrent ? "".concat(defaultClass, " active") : defaultClass
    };
  };
};