import { jsx as e, Fragment as a } from "react/jsx-runtime";
import { noop as m } from "es-toolkit/function";
import d from "./MenuItem.js";
const x = ({ items: n, closeMenu: t = m, onMouseEnter: p = m }) => /* @__PURE__ */ e(a, { children: n.map((o, r) => /* @__PURE__ */ e(
  d,
  {
    ...o,
    index: o.index ?? r,
    closeMenu: t,
    onMouseEnter: p
  },
  o.index ?? r
)) });
export {
  x as default
};
//# sourceMappingURL=MenuItems.js.map
