qt-ui-kit 1.0.93 → 1.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -16323,17 +16323,16 @@ function EmojiPill({ emoji, count }) {
|
|
|
16323
16323
|
// src/util/utilcomponents.tsx
|
|
16324
16324
|
import clsx8 from "clsx";
|
|
16325
16325
|
import ReactMarkdown from "react-markdown";
|
|
16326
|
-
import remarkGfm from "remark-gfm";
|
|
16327
16326
|
import { jsx as jsx33 } from "react/jsx-runtime";
|
|
16328
16327
|
function MarkdownRenderer({ content, truncated }) {
|
|
16329
16328
|
return /* @__PURE__ */ jsx33(
|
|
16330
16329
|
"div",
|
|
16331
16330
|
{
|
|
16332
16331
|
className: clsx8(
|
|
16333
|
-
"flex flex-col markdown break-
|
|
16332
|
+
"flex flex-col markdown break-words",
|
|
16334
16333
|
truncated && "line-clamp-3"
|
|
16335
16334
|
),
|
|
16336
|
-
children: /* @__PURE__ */ jsx33(ReactMarkdown, {
|
|
16335
|
+
children: /* @__PURE__ */ jsx33(ReactMarkdown, { children: content })
|
|
16337
16336
|
}
|
|
16338
16337
|
);
|
|
16339
16338
|
}
|