Skip to main content
Version: 0.62

Shadow Props

Reference

These properties are iOS only - for similar functionality on Android, use the elevation property.

Props#

shadowColor#

Sets the drop shadow color

TypeRequiredPlatform
colorNoiOS

shadowOffset#

Sets the drop shadow offset

TypeRequiredPlatform
object: {width: number,height: number}NoiOS

shadowOpacity#

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

TypeRequiredPlatform
numberNoiOS

shadowRadius#

Sets the drop shadow blur radius

TypeRequiredPlatform
numberNoiOS