open websute react native

JavaScript
import { Linking, Button } from "react-native";
{/*Insert the rest of your code :)*/}
<Button
  title="Open Motorola Website"
  onPress={() => Linking.openURL('https://www.motorola.com')}
  />
{/*Hello Moto*/}Linking
  .openURL('https://link.com')
  .catch(err => console.error('Error', err));
Source

Also in JavaScript: