how to add shadow react native code example
Example 1: shadow elevation react native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 3,
},
shadowOpacity: 0.27,
shadowRadius: 4.65,
elevation: 6,
Example 2: #react native shadow
shadowColor: '#470000',
shadowOffset: {width: 0, height: 1},
shadowOpacity: 0.2,
elevation: 1
Example 3: #react native shadow
shadowColor: '#470000',
shadowOffset: {width: 0, height: 1},
shadowOpacity: 0.2,
elevation: 1,
Example 4: shadown reAct native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 10,
},
shadowOpacity: 0.12,
shadowRadius: 60,
Example 5: react native shadow android
<View style={{ elevation: 2 }}>
{children}
</View>