I'm having trouble putting a shadow
in the image, I tried to put it in View
and Image
but it did not work.
<View style={styles.ContainerImageProfile}>
<Image style={styles.ImageProfile} source={{uri: 'profile.png'}} />
</View>
ContainerImageProfile: {
width: 90,
height: 90,
borderRadius: 50,
backgroundColor: 'red',
overflow: 'hidden',
marginTop: 100,
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.8,
shadowRadius: 50,
},
ImageProfile: {
width: '100%',
height: '100%'
},