Answers for "react native button open new page as link"

2

open websute react native

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*/}
Posted by: Guest on November-02-2020
-1

react native open link in browser

Linking
  .openURL('https://link.com')
  .catch(err => console.error('Error', err));
Posted by: Guest on June-12-2020

Code answers related to "react native button open new page as link"

Code answers related to "Javascript"

Browse Popular Code Answers by Language