How does one Display a Hyperlink in React Native App?

前端 未结 11 1213
孤街浪徒
孤街浪徒 2020-12-12 16:38

How do I display a hyperlink in a React Native app?

e.g.

Google 
11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 17:35

    Another helpful note to add to the above responses is to add some flexbox styling. This will keep the text on one line and will make sure the text doesn't overlap the screen.

     
      Add your 
      
         Linking.openURL('https://www.google.com')} >
             link
        
       
       here.
       
     
    

提交回复
热议问题