title: Trying to use two props in custom defined component in react native, but it doesn't work
body: <p>I am adding two props (textProp &amp; imgProp) to my custom component, but I keep on getting this error <code>&lt;Image&gt; component cant contain children</code>. This is what I have soo far</p>
  <pre><code>function TextImg(textprop, imgprop) {
    return(
      &lt;div&gt;
        &lt;div&gt;
          &lt;Text&gt;{textprop.text}&lt;/Text&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;Image source={imgprop.imageUri}&gt;!&lt;/Image&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    );
  }
  </code></pre>
  <p>Can anyone help me regarding this, Thanks!</p>