when we have to give the elevation in react native code example
Example 1: react native elevation
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: .1,
shadowRadius: 8,
elevation: 2,
Example 2: elevation react native
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 1,
},
shadowOpacity: 0.22,
shadowRadius: 2.22,
elevation: 3,