title: How to change a string in React-Native into a Component?
body: <p>I have a <code>var str = '&lt;Text&gt; something &lt;/Text&gt;'</code>, can I render it into a Component?</p>
  
  <p>I tried the following, but it doesn't work :(</p>
  
  <pre><code>var str = '&lt;Text&gt;test&lt;/Text&gt;'
      render(){
          return(
              &lt;Text&gt;{str}&lt;/Text&gt;
          )
     }
  </code></pre>
  
  <p>Is there any way to do this, similar to <code>dangerouslySetInnerHTML</code> in React?</p>
  
  <p>In my project, I get json by fetch just like</p>
  
  <pre><code>{
     content:'&lt;p&gt;example&lt;/p&gt;'
  }
  </code></pre>
  
  <p>I want to replace the html element <code>p</code> or others into <code>Text</code>and so on by regular expressions, but the result is a string.</p>
  
  <p>I also tried the <code>react-native-html-render</code> but it's document is incomprehensible and doesn't performs well.   </p>