|
|
|
@ -11,7 +11,7 @@ const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => { |
|
|
|
|
return ( |
|
|
|
|
<NavLink |
|
|
|
|
to={to} |
|
|
|
|
className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center py-2 px-2 small ' + (isActive ? 'bg-transparent' : 'bg-dark')} |
|
|
|
|
className={({ isActive }) => 'text-decoration-none d-flex flex-column justify-content-center py-2 small ' + (isActive ? 'bg-transparent' : 'bg-dark')} |
|
|
|
|
> |
|
|
|
|
<span> |
|
|
|
|
<span>{icon}</span> |
|
|
|
|