"use client";
import { jsx } from "react/jsx-runtime";
import { MarkdownContent } from "@open-mercato/ui/backend/markdown/MarkdownContent";
function DefaultMessageContent({ message }) {
  return /* @__PURE__ */ jsx("section", { className: "space-y-4", children: /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
    MarkdownContent,
    {
      body: message.body,
      format: message.bodyFormat,
      className: "text-sm text-foreground whitespace-pre-wrap [&>*]:mb-2 [&>*:last-child]:mb-0 [&_ul]:ml-4 [&_ul]:list-disc [&_ol]:ml-4 [&_ol]:list-decimal [&_code]:rounded [&_code]:bg-muted [&_code]:px-1 [&_code]:py-0.5 [&_pre]:rounded-md [&_pre]:bg-muted [&_pre]:p-3 [&_pre]:text-xs"
    }
  ) }) });
}
var DefaultMessageContent_default = DefaultMessageContent;
export {
  DefaultMessageContent,
  DefaultMessageContent_default as default
};
//# sourceMappingURL=DefaultMessageContent.js.map
