"use client";
import { ark } from "../factory.js";
import { useNavigationMenuContext } from "./use-navigation-menu-context.js";
import { useNavigationMenuItemPropsContext } from "./use-navigation-menu-item-props-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/navigation-menu/navigation-menu-item-indicator.tsx
var NavigationMenuItemIndicator = forwardRef((props, ref) => {
	const navigationMenu = useNavigationMenuContext();
	const itemProps = useNavigationMenuItemPropsContext();
	const mergedProps = mergeProps(navigationMenu.getItemIndicatorProps(itemProps), props);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
NavigationMenuItemIndicator.displayName = "NavigationMenuItemIndicator";
//#endregion
export { NavigationMenuItemIndicator };
