阴影样式属性
#
文档These properties are iOS only - for similar functionality on Android, use the elevation
property.
#
PropsshadowColor
#
设置阴影色。
类型 | 必填 | 平台 |
---|---|---|
color | 否 | iOS |
shadowOffset
#
设置阴影偏移量。
类型 | 必填 | 平台 |
---|---|---|
object: {width: number,height: number} | 否 | iOS |
shadowOpacity
#
设置阴影不透明度 (乘以颜色的 alpha 分量)。
类型 | 必填 | 平台 |
---|---|---|
number | 否 | iOS |
shadowRadius
#
设置阴影模糊半径。
类型 | 必填 | 平台 |
---|---|---|
number | 否 | iOS |