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