React Router Active Link CSS
<NavLink
key={tab.id}
className={(navData) =>
navData.isActive ? styles.activeTab : styles.inactiveTab
}
to={tab.path}
>
{tab.name}
</NavLink>
Tanishq Vyas