import { jsx as t, Fragment as m } from "@emotion/react/jsx-runtime";
import { getPropertyByString as a } from "@m4l/core";
import { TagsFormatter as g } from "../../../formatters/TagsFormatter/TagsFormatter.js";
const u = (o) => {
  const { fieldValue: e } = o;
  return (n) => {
    const { childRows: r } = n;
    if (r.length === 0)
      return /* @__PURE__ */ t(m, { children: "-" });
    const s = r[0], i = a(
      s,
      e.toString()
    );
    return /* @__PURE__ */ t(g, { tags: i });
  };
};
export {
  u as ColumnTagsGroupFormatter
};
