Exampleβ
Reference
backfaceVisibility
β
Type |
---|
enum('visible' , 'hidden' ) |
backgroundColor
β
borderBottomColor
β
borderBottomEndRadius
β
borderBottomLeftRadius
β
borderBottomRightRadius
β
borderBottomStartRadius
β
borderStartEndRadius
β
borderStartStartRadius
β
borderEndEndRadius
β
borderEndStartRadius
β
borderBottomWidth
β
borderColor
β
borderCurve
iOS
β
On iOS 13+, it is possible to change the corner curve of borders.
Type |
---|
enum('circular' , 'continuous' ) |
borderEndColor
β
borderLeftColor
β
borderLeftWidth
β
borderRadius
β
If the rounded border is not visible, try applying overflow: 'hidden'
as well.
borderRightColor
β
borderRightWidth
β
borderStartColor
β
borderStyle
β
Type |
---|
enum('solid' , 'dotted' , 'dashed' ) |
borderTopColor
β
borderTopEndRadius
β
borderTopLeftRadius
β
borderTopRightRadius
β
borderTopStartRadius
β
borderTopWidth
β
borderWidth
β
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.
opacity
β
pointerEvents
β
Controls whether the View
can be the target of touch events.
'auto'
: The View can be the target of touch events.
'none'
: The View is never the target of touch events.
'box-none'
: The View is never the target of touch events but its subviews can be.
'box-only'
: The view can be the target of touch events but its subviews cannot be.
Type |
---|
enum('auto', 'box-none', 'box-only', 'none' ) |