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