@frontify/fondue
Version:
Design system of Frontify
14 lines (13 loc) • 315 B
JavaScript
const c = (e, t) => `${e}:${t}`, s = (e) => {
const t = /* @__PURE__ */ new Map();
for (const n of e) {
const o = c(n.data.category, n.data.id), a = n.text;
t.set(o, a);
}
return t;
};
export {
c as combineMentionableKeyWith,
s as mapMentionable
};
//# sourceMappingURL=mapMentionable.es.js.map