diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-26 18:49:53 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-26 18:49:53 +0100 |
commit | 1fafddfd1084753aeb7b6429065e761d708809bb (patch) | |
tree | 3d0c447d4d1ef673e37b00aca6859b73b3127e09 /components/navbarItem.tsx | |
parent | c0318023f8b8f52347fa9fd7c654e42b7e0f68aa (diff) |
BIG progress
Diffstat (limited to 'components/navbarItem.tsx')
-rw-r--r-- | components/navbarItem.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
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> +} |