aboutsummaryrefslogtreecommitdiff
path: root/components/navbarItem.tsx
blob: b724444085402541c0d47add37edefde6c33f54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { ReactNode } from 'react';

export default function NavbarItem(props: {
	icon?: ReactNode;
	title: string;
	href: string;
}) {
	return <a href={props.href} className="navbarItem">
		<div>
			{props.icon}
			<span>{props.title}</span>
		</div>
	</a>
}