Files
react-native/docs/viewstyleproptypes.md
T
2017-10-27 11:51:58 -07:00

5.9 KiB

id, title, original_id
id title original_id
version-0.50-viewstyleproptypes viewstyleproptypes viewstyleproptypes

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!