Something like this:
<Text style={{color: 'blue'}}
onPress={() => Linking.openURL('http://google.com')}>
Google
</Text>
using the Linking
module that's bundled with React Native.
import { Linking } from 'react-native';
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…