fawaz-ahmed / react-native-read-more

React native library to show text in a condensed way and expand when needed. Drop in replacement for Text component and highly customizable. Can be used with expo or native cli for react native.
https://www.npmjs.com/package/@fawazahmed/react-native-read-more
MIT License
275 stars 37 forks source link

Can We use HTML content inside in this Library #25

Closed XamBoy closed 3 years ago

fawaz-ahmed commented 3 years ago

@XamBoy It hasn't been tested with html content and I'm afraid it won't support html out of the box. You can pass any html renderer as a custom component and check if that works. Another fix would be to rip off tags from tags from html and pass the bare text to this component, as mentioned here

fawaz-ahmed commented 3 years ago

Html is not compatible. Closing issue