Вот мой фрагмент кода:
imageContainer: {
height: 240,
width: 320,
shadowColor: theme.black, // for IOS
shadowOffset: {width: 0, height: 1.5},
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 3,
margin: 2,
borderRadius: 15
},
backgroundImage: {
flex: 1,
width: null,
height: null,
resizeMode: 'stretch'
},
Спасибо