mirror of
https://github.com/Ategon/Jamjar.git
synced 2025-02-12 06:16:21 +00:00
15 lines
318 B
TypeScript
15 lines
318 B
TypeScript
import { NavbarItem } from "@nextui-org/react";
|
|
import Link from "../link-components/Link";
|
|
|
|
interface NavbarLinkProps {
|
|
name: string;
|
|
href: string;
|
|
}
|
|
|
|
export default function NavbarLink({ name, href }: NavbarLinkProps) {
|
|
return (
|
|
<NavbarItem>
|
|
<Link name={name} href={href} />
|
|
</NavbarItem>
|
|
);
|
|
}
|