import { jsx as n, Fragment as a } from "react/jsx-runtime";
import { a as d } from "../../../../useQuery-n4ls1rLk.js";
const y = ({ componentKey: e, ...s }) => {
  const {
    data: t,
    isLoading: i,
    isError: p,
    isFetched: c,
    isSuccess: m
  } = d({
    queryKey: ["dynamicComponent", "Table", e],
    queryFn: async () => await import("./index.js").then((o) => o == null ? void 0 : o.default)
  });
  if (!(!i && !p && c && m) || !t)
    return /* @__PURE__ */ n(a, {});
  const r = t.govco[e];
  return r ? /* @__PURE__ */ n(r, { ...s }) : /* @__PURE__ */ n("div", { children: "Error: Componente no encontrado" });
};
export {
  y as WrapperTableTdComponents
};
