import { jsx as n } from "react/jsx-runtime";
import { Suspense as a, lazy as c } from "react";
const i = c(() => import("./use-editable-text.KpT0YIqk.js").then((t) => t.T));
function l(t, e) {
  if (t.editable)
    return /* @__PURE__ */ n(a, { children: /* @__PURE__ */ n(i, { ...t, content: t.content }) });
  const o = t.as || "div";
  return /* @__PURE__ */ n(
    o,
    {
      ref: e,
      className: t.className,
      dangerouslySetInnerHTML: { __html: t.content }
    }
  );
}
export {
  l as T
};
//# sourceMappingURL=TextContent.CXFlerU1.js.map
