react-native shrink image to view size code example
Example: react native cover image in parent view
image: {
flex: 1,
width: '100%',
height: '100%',
resizeMode: 'contain',
},
image: {
flex: 1,
width: '100%',
height: '100%',
resizeMode: 'contain',
},