This commit is contained in:
2026-06-24 15:10:50 +02:00
commit a3e7512f95
212 changed files with 212927 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Link } from 'react-router-dom'
export const NavBarItem = (props) => {
const { to, tabID, setActiveTab, children, isActive, specificTabName } = props // setActiveTab(to)
return (
<Link to={to} className={`anchor ${specificTabName} ${isActive ? 'active' : ''}`} id={tabID} onClick={() => { setActiveTab(to) }}>
{children}
</Link>
)
}