Skip to main content

Shadow Props

Reference

Props#

shadowColor#

Sets the drop shadow color.

This property will only work on Android API 28 and above. For similar functionality on lower Android APIs, use the elevation property.

Type
color

shadowOffset
iOS
#

Sets the drop shadow offset.

Type
object: {width: number,height: number}

shadowOpacity
iOS
#

Sets the drop shadow opacity (multiplied by the color's alpha component).

Type
number

shadowRadius
iOS
#

Sets the drop shadow blur radius.

Type
number