Answers for "how to interpret text string as html in react js"

0

render text as html react

<div dangerouslySetInnerHTML={{__html: '<strong>strong text</strong>'}} />
Posted by: Guest on August-10-2021

Code answers related to "how to interpret text string as html in react js"

Browse Popular Code Answers by Language