From 1fafddfd1084753aeb7b6429065e761d708809bb Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Fri, 26 Mar 2021 18:49:53 +0100
Subject: BIG progress

---
 components/navbarItem.tsx | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 components/navbarItem.tsx

(limited to 'components/navbarItem.tsx')

diff --git a/components/navbarItem.tsx b/components/navbarItem.tsx
new file mode 100644
index 0000000..b724444
--- /dev/null
+++ b/components/navbarItem.tsx
@@ -0,0 +1,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>
+}
-- 
cgit v1.2.3

