Answers for "react how to use html inside string text"

0

render text as html react

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

Code answers related to "react how to use html inside string text"

Browse Popular Code Answers by Language