@awell-health/ui-library 0.1.83 → 0.1.84
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14293,7 +14293,8 @@ Check the top-level render call using <` + t + ">.");
|
|
|
14293
14293
|
|
|
14294
14294
|
var RichTextViewer = function (_a) {
|
|
14295
14295
|
var content = _a.content;
|
|
14296
|
-
|
|
14296
|
+
var contentWithLineBreaks = content.split('\n').join('<br />');
|
|
14297
|
+
return jsxRuntime.exports.jsx("div", { className: richTextClasses.content, dangerouslySetInnerHTML: { __html: contentWithLineBreaks } });
|
|
14297
14298
|
};
|
|
14298
14299
|
|
|
14299
14300
|
var purify = {exports: {}};
|