We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bd441f commit 1406ae4Copy full SHA for 1406ae4
src/components/contentTypes/InText.jsx
@@ -37,13 +37,12 @@ function InText(props) {
37
const inTextRenderer = htmlAttribs => {
38
const { text, path } = htmlAttribs
39
return (
40
- <Text
+ <TouchableOpacity
41
onPress={handlePress(text, path)}
42
- style={[globalStyles.body2, { color: 'darkblue' }]}
43
key={`intext-${text}`}
44
>
45
- {text}
46
- </Text>
+ <Text style={[globalStyles.body2, { color: 'darkblue' }]}>{text}</Text>
+ </TouchableOpacity>
47
)
48
}
49
0 commit comments