import type { FC, ReactNode } from "react"; export type NavItemType = { /** Label text for the nav item. */ label: string; /** URL to navigate to when the nav item is clicked. */ href?: string; /** Icon component to display. */ icon?: FC>; /** Badge to display. */ badge?: ReactNode; /** List of sub-items to display. */ items?: { label: string; href: string; icon?: FC>; badge?: ReactNode }[]; /** Whether this nav item is a divider. */ divider?: boolean; }; export type NavItemDividerType = Omit & { /** Label text for the divider. */ label?: string; /** Whether this nav item is a divider. */ divider: true; };