react-native-simple-markdown
react-native-simple-markdown copied to clipboard
text color overrides link or mailTo color
Despite setting the link and mailTo color to something else, because inner text is rendered within a link, the color of the link itself is never represented.
My links also are rendered with default text color. Even when the text color is not specified in styles. Setting values for mailTo and link doesn't have any effect atm (v1.1.0)
Any update on this?
I solved just overwriting the text style removing the color that was settled on it and setting the view style with the default color. Then i settled the link color like this:
<Markdown styles={{
text: { fontSize: 24 },
view: { color: '#000000' },
link: { color: '#0000ff' }
}}>
[github](https://github.com)
</Markdown>;