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 |