Estou tendo dificuldade para colocar um shadow
na imagem, tentei colocar na View
e na Image
mas não funcionou.
<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%'
},