"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const react = require("react");
const renderByJoining = (dimensionData) => {
  const output = [];
  for (const [i, dimension] of dimensionData.entries()) {
    output.push(/* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: dimension.label }, dimension.slug));
    if (i + 1 < dimensionData.length) {
      output.push(/* @__PURE__ */ jsxRuntime.jsx(react.Fragment, { children: ", " }, `${dimension.slug}_separator`));
    }
  }
  return output;
};
exports.renderByJoining = renderByJoining;
//# sourceMappingURL=renderByJoining.cjs.map
