diff options
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> +} |