import type { ControlSize } from "@charcuterie/tokens"; import type { Placement } from "@floating-ui/react"; import type { ReactNode } from "react"; import type { NavItem } from "../Nav/navItems.ts"; /** * @deprecated Use `Nav`'s `NavItem`. Removed in the next major. */ export type NavBarItem = NavItem; /** * @deprecated Use `NavProps` with `layout="bar"`. Removed in the * next major. */ export type NavBarProps = { className?: string; currentHref?: string; isMenuVisible?: boolean; items: readonly NavBarItem[]; label: string; menuAlign?: "end" | "start"; menuIcon?: ReactNode; menuLabel?: string; menuPlacement?: Placement; size?: ControlSize; }; /** * @deprecated Use `Nav` with `layout="bar"` — which is `Nav`'s * default, so `