import { jsx as e } from "react/jsx-runtime";
import { forwardRef as a, Suspense as c, lazy as m } from "react";
const i = m(() => import("./TextEditor.CRMaNobr.js")), d = a(
  // biome-ignore lint/suspicious/noExplicitAny: <explanation>
  (t, n) => {
    var o;
    if (t.editable)
      return /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(
        i,
        {
          ref: n,
          ...t,
          content: ((o = t.content) == null ? void 0 : o.length) > 0 ? t.content : "Type your text here..."
        }
      ) });
    const r = t.as || "div";
    return /* @__PURE__ */ e(
      r,
      {
        ref: n,
        className: t.className,
        dangerouslySetInnerHTML: { __html: t.content }
      }
    );
  }
);
export {
  d as T
};
//# sourceMappingURL=TextContent.Bo6lqHFe.js.map
