React-native-render-html: How to add an anchor Link

Created on 26 Mar 2020  路  2Comments  路  Source: meliorence/react-native-render-html

How can i use an anchor link using react-native-render-html ?
I used Linking.openURL(url) with external link,,
what about the anchor link ?

FAQ candidate question

Most helpful comment

<HTML html={item.getDefaultValue()} onLinkPress={(ev, href, htmlAttribs) => Linking.openURL(href)}
this way u can acheive it @mehul2013 @asma-rgb

All 2 comments

I also want to open an external link. Is there any reference for this?

<HTML html={item.getDefaultValue()} onLinkPress={(ev, href, htmlAttribs) => Linking.openURL(href)}
this way u can acheive it @mehul2013 @asma-rgb

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aparus picture Aparus  路  3Comments

xipgroc picture xipgroc  路  6Comments

HarrisKoffi picture HarrisKoffi  路  5Comments

sayem314 picture sayem314  路  6Comments

f-roland picture f-roland  路  3Comments