Answer the question
In order to leave comments, you need to log in
How to correctly display links inside text?
I need to do it like this .
While I did so
<View style={styles.agreementTitle}>
<ElTitle>{translate('ohers.agree')}</ElTitle>
<ElLink onPress={() => props.navigation.navigate('agreement', {
uri: 'privacy'
})}>{translate('elements.labels.policy')}</ElLink>
<ElTitle>{translate('ohers.and')}</ElTitle>
<ElLink onPress={() => props.navigation.navigate('agreement', {
uri: 'terms'
})}>{translate('elements.labels.terms')}</ElLink>
</View>
Answer the question
In order to leave comments, you need to log in
<Text>
I agree with
<TouchableOpacity onPress={() => {}}>
<Text>Privacy</Text>
<TouchableOpacity />
</Text>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question