elevation shadow react native code example
Example 1: react native shaddow
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 12,
},
shadowOpacity: 0.58,
shadowRadius: 16.00,
elevation: 24,
Example 2: box shadow in react native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 1,
},
shadowOpacity: 0.20,
shadowRadius: 1.41,
elevation: 2,
Example 3: react native shadow android
<View style={{ elevation: 2 }}>
{children}
</View>