how to use Height auto in react native?
<p>In a browser, the width of an image can be specified and height can be set to auto. This will let the image retain aspect ratio while being bound to the specified width. Neither Height nor aspect ratio is known beforehand  </p>

<p>How can I do the same in react native? Height property can only accept number values.</p>