0
I’m having a hard time putting one shadow
in the picture, I tried to put in the View
and in the Image
but it didn’t 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%'
},