<NavLink key={tab.id} className={(navData) => navData.isActive ? styles.activeTab : styles.inactiveTab } to={tab.path} > {tab.name} </NavLink>