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';
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';