import e from"../../node_modules/classnames/index.js";import t from"../../node_modules/lodash/isNil.js";import a from"react";import"../../node_modules/reactstrap/esm/index.js";import m from"../Badge/Badge.js";import o from"../Stack/Stack.js";import r from"../Text/Text.js";import{__exports as l}from"../../_virtual/index.js";const s=({active:s,badge:n,count:i,disabled:c=!1,icon:d,name:p,onClick:f,...u})=>a.createElement(l.NavItem,{key:`NavItem-${p}`},a.createElement(l.NavLink,{"aria-label":p,className:e({active:s,disabled:c}),onClick:f},a.createElement(o,{...u,alignItems:"center",row:!0},!t(d)&&a.createElement(d,null),a.createElement(r,{nowrap:!0},p,!t(i)&&` (${i})`),n&&a.createElement(m,null,n))));export{s as default};
//# sourceMappingURL=Tab.js.map
