Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

linking in react native

Make sure to import!
import React from 'react';
import { Image, View, Text, TouchableOpacity, StyleSheet, Linking } from 'react-native';


<TouchableOpacity
        onPress={() =>
          Linking.openURL(
            'https://www.cbc.ca/news/world/coronavirus-covid19-canada-world-march9-2021-1.5941963'
          )
        }>
        <Text>open cbc</Text>
</TouchableOpacity>
Comment

PREVIOUS NEXT
Code Example
Javascript :: json server 
Javascript :: check if string contains word nodejs 
Javascript :: how to create click function in javascript 
Javascript :: console redux state shows proxy 
Javascript :: javascript for loops in vs of 
Javascript :: javascript set readonly property 
Javascript :: react next alias import 
Javascript :: check if input is touched react 
Javascript :: js when key is pressed 
Javascript :: form append other data feild and send through ajax 
Javascript :: JavaScript - How to get the extension of a filename 
Javascript :: react native regenerate android and ios folders 
Javascript :: include gif in react 
Javascript :: json schema string or null 
Javascript :: javascript scroll event 
Javascript :: onclick checkbox hide div and unchecked show div 
Javascript :: javascript get local storage 
Javascript :: node js unix timestamp 
Javascript :: moment set hours 
Javascript :: type of variable js 
Javascript :: javascript print object pretty 
Javascript :: javascript object dont sort 
Javascript :: discord js how to mention bot 
Javascript :: react state add to array 
Javascript :: javascript context color 
Javascript :: node js get input from console 
Javascript :: reset form function javascript 
Javascript :: change padding javascript 
Javascript :: how to reverse an array in javascript 
Javascript :: add property to string js 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =