ho to make to make image fit screen in react.js 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',
},