Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import React from "react";
import { Linking, Text, View } from "react-native";
class LinkingDemo extends React.Component {
handleOpenUrl = url => {
render() {
return (
flex: 1,
justifyContent: "center",
alignItems: "center"
<Text onPress={() => this.handleOpenUrl("")}>
Go to website
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.