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
Type | Required | Platform |
---|---|---|
color | No | iOS |
shadowOffset
Sets the drop shadow offset
Type | Required | Platform |
---|---|---|
object: {width: number,height: number} | No | iOS |
shadowOpacity
Sets the drop shadow opacity (multiplied by the color's alpha component)
Type | Required | Platform |
---|---|---|
number | No | iOS |
shadowRadius
Sets the drop shadow blur radius
Type | Required | Platform |
---|---|---|
number | No | iOS |