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