React-native-render-html: remove underline from 'a' tag

Created on 16 May 2018  路  2Comments  路  Source: meliorence/react-native-render-html

Hi there,

I am trying to remove the underline from the anchor tag.

I have the following in tagStyles:

a : {
    color:'#0098D9',
    fontSize: 15,
    textDecoration: 'none'
  },

but for some reason that style is not being applied. Any ideas on how to achieve this?
Thanks in advance for the help!

question

Most helpful comment

Key should be textDecorationLine not textDecoration

a : {
    color:'#0098D9',
    fontSize: 15,
    textDecorationLine: 'none'
  }

All 2 comments

Key should be textDecorationLine not textDecoration

a : {
    color:'#0098D9',
    fontSize: 15,
    textDecorationLine: 'none'
  }

Why?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Aparus picture Aparus  路  3Comments

chadmorrow picture chadmorrow  路  7Comments

fahadhaq picture fahadhaq  路  6Comments

sayem314 picture sayem314  路  6Comments

kanikas24 picture kanikas24  路  5Comments