View Style Props
Exampleβ
Reference
Propsβ
backfaceVisibility
β
Type |
---|
enum('visible' , 'hidden' ) |
backgroundColor
β
Type |
---|
color |
borderBottomColor
β
Type |
---|
color |
borderBottomEndRadius
β
Type |
---|
number |
borderBottomLeftRadius
β
Type |
---|
number |
borderBottomRightRadius
β
Type |
---|
number |
borderBottomStartRadius
β
Type |
---|
number |
borderBottomWidth
β
Type |
---|
number |
borderColor
β
Type |
---|
color |
borderEndColor
β
Type |
---|
color |
borderLeftColor
β
Type |
---|
color |
borderLeftWidth
β
Type |
---|
number |
borderRadius
β
If the rounded border is not visible, try applying overflow: 'hidden'
as well.
Type |
---|
number |
borderRightColor
β
Type |
---|
color |
borderRightWidth
β
Type |
---|
number |
borderStartColor
β
Type |
---|
color |
borderStyle
β
Type |
---|
enum('solid' , 'dotted' , 'dashed' ) |
borderTopColor
β
Type |
---|
color |
borderTopEndRadius
β
Type |
---|
number |
borderTopLeftRadius
β
Type |
---|
number |
borderTopRightRadius
β
Type |
---|
number |
borderTopStartRadius
β
Type |
---|
number |
borderTopWidth
β
Type |
---|
number |
borderWidth
β
Type |
---|
number |
elevation
Androidβ
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.
Type |
---|
number |
opacity
β
Type |
---|
number |