<NavLink to="users" className={({ isActive }) => (isActive ? 'active' : 'inactive')} > Users </NavLink>