how to use shadow in 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: shadowoffset react native constructor
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 4,
},
shadowOpacity: 0.32,
shadowRadius: 5.46,
elevation: 9,
Example 4: shadow using react native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 8,
},
shadowOpacity: 0.44,
shadowRadius: 10.32,
elevation: 16,