box shadow react native 1

box shadow react native

shadowColor: "#000",
shadowOffset: {
	width: 0,
	height: 3,
},
shadowOpacity: 0.27,
shadowRadius: 4.65,

elevation: 6,

Here is what the above code is Doing:
1. shadowColor: This is the color of the shadow.
2. shadowOffset: This is the offset of the shadow.
3. shadowOpacity: This is the opacity of the shadow.
4. shadowRadius: This is the radius of the shadow.
5. elevation: This is the elevation of the shadow.

Similar Posts