import e from"react";import t from"../../prop-types/index.js";import r from"../../classnames/index.js";import{tagPropType as a,mapToCssModules as n}from"./utils.js";var o=["className","cssModule","active","tag"];function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},s.apply(this,arguments)}function i(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var c={active:t.bool,className:t.string,cssModule:t.object,tag:a};function l(t){var a=t.className,c=t.cssModule,l=t.active,p=t.tag,u=void 0===p?"li":p,f=i(t,o),m=n(r(a,"nav-item",!!l&&"active"),c);return e.createElement(u,s({},f,{className:m}))}l.propTypes=c;export{l as default};
//# sourceMappingURL=NavItem.js.map
