@poolse/react-native 2.1.1 → 2.1.2
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2638,6 +2638,7 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
2638
2638
|
borderRadius: 20
|
|
2639
2639
|
}
|
|
2640
2640
|
});
|
|
2641
|
+
var markdownit = Markdown.MarkdownIt({ typographer: false, linkify: true });
|
|
2641
2642
|
function renderMarkdown(body, args) {
|
|
2642
2643
|
const baseText = {
|
|
2643
2644
|
color: args.textColor,
|
|
@@ -2683,7 +2684,7 @@ function renderMarkdown(body, args) {
|
|
|
2683
2684
|
opacity: 0.85
|
|
2684
2685
|
}
|
|
2685
2686
|
};
|
|
2686
|
-
return react.createElement(Markdown__default.default, { style, onLinkPress: args.onLinkPress }, body);
|
|
2687
|
+
return react.createElement(Markdown__default.default, { style, markdownit, onLinkPress: args.onLinkPress }, body);
|
|
2687
2688
|
}
|
|
2688
2689
|
function MessageBubble({
|
|
2689
2690
|
message,
|