ViewStylePropTypes
ViewStylePropTypes
道具
backfaceVisibility?: enum('visible', 'hidden')
backgroundColor?: color
borderBottomColor?: color
borderBottomLeftRadius?: number
borderBottomRightRadius?: number
borderBottomWidth?: number
borderColor?: color
borderLeftColor?: color
borderLeftWidth?: number
borderRadius?: number
borderRightColor?: color
borderRightWidth?: number
borderStyle?: enum('solid', 'dotted', 'dashed')
borderTopColor?: color
borderTopLeftRadius?: number
borderTopRightRadius?: number
borderTopWidth?: number
borderWidth?: number
opacity?: number
androidelevation?: number
(仅限Android)使用Android的基础高程API设置视图的高程。这会为项目添加投影并影响重叠视图的z顺序。仅支持Android 5.0+,对早期版本无效。