import { ReactNode } from "react"; import Link from "next/link"; export interface Props { children?: ReactNode | undefined; href: string; plain?: boolean | undefined; // Do not wrap in
} export default function NavItem(props: Props) { const ret = ( {props.children} ); if (props.plain) { return ret; } return