I have a query regarding tag. I want an image to take entire width of parent which I do using alignSelf:stretch, but I also want the height to be according to the aspect ra
Use style={{ aspectRatio: 3/2 }} for a horizontal image with width to height ratio of 3:2.
style={{ aspectRatio: 3/2 }}
Docs: https://facebook.github.io/react-native/docs/layout-props.html#aspectratio
(Available in RN 0.40+)