Skip to content

Commit 1406ae4

Browse files
committed
little TouchableOpacity added (for see onPress)
1 parent 2bd441f commit 1406ae4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/contentTypes/InText.jsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,12 @@ function InText(props) {
3737
const inTextRenderer = htmlAttribs => {
3838
const { text, path } = htmlAttribs
3939
return (
40-
<Text
40+
<TouchableOpacity
4141
onPress={handlePress(text, path)}
42-
style={[globalStyles.body2, { color: 'darkblue' }]}
4342
key={`intext-${text}`}
4443
>
45-
{text}
46-
</Text>
44+
<Text style={[globalStyles.body2, { color: 'darkblue' }]}>{text}</Text>
45+
</TouchableOpacity>
4746
)
4847
}
4948

0 commit comments

Comments
 (0)