Answers for "react text with html tags"

0

render text as html react

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

Browse Popular Code Answers by Language