react-native-markdown-renderer icon indicating copy to clipboard operation
react-native-markdown-renderer copied to clipboard

React (web) support?

Open millersdev opened this issue 8 years ago • 2 comments
trafficstars

I really like how this library wraps custom functionality around the Markdown-it lib. But why return Text and View (native functionality) instead of cross support, where Text returns a Text component for native and a span for example on web.

In this case you can use this library for both react and react native.

Allready thought of this? And what do you think of this idea?

millersdev avatar Oct 30 '17 15:10 millersdev

Thats a nice thought, maybe by switching between render rules we could add this

mientjan avatar Jan 19 '18 11:01 mientjan

Well considering this actually works with react-native-web and is title react-native, it sort of makes sense to work with native components IMHO.

PeterKottas avatar Feb 27 '18 23:02 PeterKottas