asafarim-navlinks
Version:
A versatile React navigation component with unlimited multi-level dropdowns, four alignment options, mobile responsiveness, and customizable styling. Perfect for modern web applications.
15 lines (13 loc) • 372 B
text/typescript
import { SvgLinkType } from "./SvgLinkType";
export type NavLinkType = {
label?: string;
href?: string; // Optional - dropdown parents don't need href
svgLogoIcon?: SvgLinkType;
title?: string;
iconLeft?: string;
iconRight?: string;
emoji?: string;
subNav?: NavLinkType[];
onClick?: (e: React.MouseEvent) => void;
className?: string;
};