import { Text as i } from "../../node_modules/@frontify/fondue/dist/typography/Text/Text.es.es.js";
import m from "react";
import { NodeIconMap as o } from "../../model/Brand/LibraryIconMap.es.js";
import "./MenuEntries.es2.js";
const n = ({ entries: a, onEntrySelected: t }) => /* @__PURE__ */ m.createElement(m.Fragment, null, a.map((e) => /* @__PURE__ */ m.createElement("div", {
  className: `menu-item ${e.active ? "menu-item--active" : ""}`,
  onClick: () => t(e.id),
  key: e.id
}, o[e.type], /* @__PURE__ */ m.createElement(i, {
  as: "p",
  size: "small",
  color: e.active ? "default" : "x-weak"
}, e.name))));
export {
  n as MenuEntries
};
//# sourceMappingURL=MenuEntries.es.js.map
