import { jsx } from "react/jsx-runtime";
import { Fragment } from "react";
const renderByJoining = (dimensionData) => {
  const output = [];
  for (const [i, dimension] of dimensionData.entries()) {
    output.push(/* @__PURE__ */ jsx(Fragment, { children: dimension.label }, dimension.slug));
    if (i + 1 < dimensionData.length) {
      output.push(/* @__PURE__ */ jsx(Fragment, { children: ", " }, `${dimension.slug}_separator`));
    }
  }
  return output;
};
export {
  renderByJoining
};
//# sourceMappingURL=renderByJoining.js.map
