Update components/navbar/navbar-item.tsx

This commit is contained in:
kleap-admin 2026-01-18 12:58:38 +00:00
parent a4ef6d1058
commit 6c322280bb
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
"use client";
import Link from "next/link";
import { ReactNode } from "react";
type Props = {
href: string;
children: ReactNode;
className?: string;
target?: "_blank";
};
export function NavBarItem({
children,
href,
target,
className = "flex items-center justify-center text-sm leading-[110%] px-4 py-2 rounded-md hover:bg-[#F5F5F5] hover:text-black text-neutral-700",
}: Props) {
return (
<Link href={href} className={className} target={target}>
{children}
</Link>
);
}