How does one Display a Hyperlink in React Native App?

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

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

e.g.

Google 
11条回答
  •  臣服心动
    2020-12-12 17:18

    Something like this:

     Linking.openURL('http://google.com')}>
      Google
    
    

    using the Linking module that's bundled with React Native.

提交回复
热议问题