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 |