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