@kontextso/sdk-react-native 0.0.8-rc.8 → 0.0.8-rc.9
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 +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1127,11 +1127,9 @@ function MarkdownText({
|
|
|
1127
1127
|
onPress: () => {
|
|
1128
1128
|
linkClickHandler(t.url);
|
|
1129
1129
|
},
|
|
1130
|
-
onLongPress: () => {
|
|
1131
|
-
linkClickHandler(t.url);
|
|
1132
|
-
},
|
|
1133
1130
|
style: ({ pressed }) => [{ opacity: pressed ? 0.8 : 1 }],
|
|
1134
1131
|
hitSlop: { top: 20, bottom: 20, left: 10, right: 10 },
|
|
1132
|
+
onStartShouldSetResponder: () => true,
|
|
1135
1133
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_native2.Text, { style: styles?.link, children: t.text }, i + "link")
|
|
1136
1134
|
}
|
|
1137
1135
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -1101,11 +1101,9 @@ function MarkdownText({
|
|
|
1101
1101
|
onPress: () => {
|
|
1102
1102
|
linkClickHandler(t.url);
|
|
1103
1103
|
},
|
|
1104
|
-
onLongPress: () => {
|
|
1105
|
-
linkClickHandler(t.url);
|
|
1106
|
-
},
|
|
1107
1104
|
style: ({ pressed }) => [{ opacity: pressed ? 0.8 : 1 }],
|
|
1108
1105
|
hitSlop: { top: 20, bottom: 20, left: 10, right: 10 },
|
|
1106
|
+
onStartShouldSetResponder: () => true,
|
|
1109
1107
|
children: /* @__PURE__ */ jsx2(Text, { style: styles?.link, children: t.text }, i + "link")
|
|
1110
1108
|
}
|
|
1111
1109
|
);
|