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.js
CHANGED
|
@@ -16351,17 +16351,16 @@ function EmojiPill({ emoji, count }) {
|
|
|
16351
16351
|
// src/util/utilcomponents.tsx
|
|
16352
16352
|
var import_clsx8 = __toESM(require("clsx"));
|
|
16353
16353
|
var import_react_markdown = __toESM(require("react-markdown"));
|
|
16354
|
-
var import_remark_gfm = __toESM(require("remark-gfm"));
|
|
16355
16354
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
16356
16355
|
function MarkdownRenderer({ content, truncated }) {
|
|
16357
16356
|
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
16358
16357
|
"div",
|
|
16359
16358
|
{
|
|
16360
16359
|
className: (0, import_clsx8.default)(
|
|
16361
|
-
"flex flex-col markdown break-
|
|
16360
|
+
"flex flex-col markdown break-words",
|
|
16362
16361
|
truncated && "line-clamp-3"
|
|
16363
16362
|
),
|
|
16364
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_markdown.default, {
|
|
16363
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_react_markdown.default, { children: content })
|
|
16365
16364
|
}
|
|
16366
16365
|
);
|
|
16367
16366
|
}
|