W3cubDocs

/React Native

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.

© 2015–2017 Facebook Inc.
Licensed under the Creative Commons Attribution 4.0 International Public License.
https://facebook.github.io/react-native/docs/viewstyleproptypes.html