import n from "./createMenuItem.js";
import o from "../../jtl-dropdown/types/DropdownItem.js";
function l(e) {
  var r;
  return {
    type: o.SubMenuTrigger,
    label: e.label,
    children: ((r = e.children) == null ? void 0 : r.map((t) => n(t))) || []
  };
}
export {
  l as default
};
//# sourceMappingURL=createSubmenu.js.map
