I have chat based app where i am getting response in html formate i want to render it with typewriter effect. I am using below packages for typewriter and render html
‘react-native-typewriter’ for typewriter and react-native-render-html for rending html content.
Typewriter effect is not working please find code snippet below.
import RenderHtml from 'react-native-render-html';
import TypeWriter from 'react-native-typewriter';
export default function App() {
return (
<TypeWriter typing={1}
onTypingEnd={() => console.log('logg')}
minDelay={1}
maxDelay={1}
>
<RenderHtml
source={{ html:'<p>hi i am rendering html</p>'}}
/>
</TypeWriter>
}
I have tried multiple approach to render it but didn’t work out. what i want is to render html content with typewriting effect in react native. it would be great if someone can help me out.