ViewStylePropTypes #

Props #

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-only) Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.

Improve this page by sending a pull request!