I am applying shadows to a box using a package I downloaded from
https://github.com/alan-eu/react-native-fast-shadow
But I am not able to get the shadow to move to the behind of the object.
Here I tried applying a shadow as shown below. The shadow is coming over the box instead of going behind it.
`
<ShadowedView style={{
shadowOpacity: 0.1,
shadowRadius: 12,
shadowOffset: {
width: -10,
height: 0,
}
}}>
<View style={[styles.item, styles.card]}>
<Text style={{fontWeight:600, color:"rgba(11, 88, 141, 1)"}}>text</Text>
<View style={styles.bottomrow}>
<Text style={{ paddingRight: 20 }}>text</Text>
<Text style={{ color: "#FA0000" }}>text</Text>
</View>
</View>
`
The color of the box background is
rgba(227, 234, 255, 0.3)