React-native How to Wrap the content of Text and Image in a View
<p>I have a problem wrapping the content of text and image in a View.. </p>

<h2>What I want:</h2>

<p>--Image-Text line 1</p>

<h2>--Image-Text line 2</h2>

<p>Basically I have tried to code in this structure with flex style configured to 'wrap'.</p>

<p>-Code syle 1:</p>

<p></p>

<pre><code>&lt;Image&gt;
&lt;/Image&gt;
&lt;Text&gt;
    Text 1
&lt;/Text&gt;
&lt;Text&gt;
    Text 2
&lt;/Text&gt;
</code></pre>

<p></p>

<p>-Code syle 2:
</p>

<pre><code>&lt;Text&gt; 
    &lt;Image&gt;
    &lt;/Image&gt;
    Text 1
    Text 2
&lt;/Text&gt;
</code></pre>

<p></p>

<p>Both did not achieve the goal I wish. What goes wrong here?</p>