"use client";
const require_factory = require("../factory.cjs");
const require_use_combobox_context = require("./use-combobox-context.cjs");
const require_use_combobox_item_props_context = require("./use-combobox-item-props-context.cjs");
let react = require("react");
let _zag_js_react = require("@zag-js/react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/combobox/combobox-item-text.tsx
var ComboboxItemText = (0, react.forwardRef)((props, ref) => {
	const combobox = require_use_combobox_context.useComboboxContext();
	const itemProps = require_use_combobox_item_props_context.useComboboxItemPropsContext();
	const mergedProps = (0, _zag_js_react.mergeProps)(combobox.getItemTextProps(itemProps), props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.span, {
		...mergedProps,
		ref
	});
});
ComboboxItemText.displayName = "ComboboxItemText";
//#endregion
exports.ComboboxItemText = ComboboxItemText;
