mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-07 09:27:29 +08:00
Differential Revision: D6261799 fbshipit-source-id: 269e151c5d136c1d508d9f2a060c0c670d0fe0f2
4.6 KiB
4.6 KiB
id, title, layout, category, permalink, next, previous
| id | title | layout | category | permalink | next | previous |
|---|---|---|---|---|---|---|
| viewstyleproptypes | ViewStylePropTypes | docs | APIs | docs/viewstyleproptypes.html | textstyleproptypes | viewproptypes |
Props
borderRightColorbackfaceVisibilityborderBottomColorborderBottomEndRadiusborderBottomLeftRadiusborderBottomRightRadiusborderBottomStartRadiusborderBottomWidthborderColorborderEndColorborderLeftColorborderLeftWidthborderRadiusbackgroundColorborderRightWidthborderStartColorborderStyleborderTopColorborderTopEndRadiusborderTopLeftRadiusborderTopRightRadiusborderTopStartRadiusborderTopWidthborderWidthopacityelevation
Reference
Props
borderRightColor
| Type | Required |
|---|---|
| color | No |
backfaceVisibility
| Type | Required |
|---|---|
| enum('visible', 'hidden') | No |
borderBottomColor
| Type | Required |
|---|---|
| color | No |
borderBottomEndRadius
| Type | Required |
|---|---|
| number | No |
borderBottomLeftRadius
| Type | Required |
|---|---|
| number | No |
borderBottomRightRadius
| Type | Required |
|---|---|
| number | No |
borderBottomStartRadius
| Type | Required |
|---|---|
| number | No |
borderBottomWidth
| Type | Required |
|---|---|
| number | No |
borderColor
| Type | Required |
|---|---|
| color | No |
borderEndColor
| Type | Required |
|---|---|
| color | No |
borderLeftColor
| Type | Required |
|---|---|
| color | No |
borderLeftWidth
| Type | Required |
|---|---|
| number | No |
borderRadius
| Type | Required |
|---|---|
| number | No |
backgroundColor
| Type | Required |
|---|---|
| color | No |
borderRightWidth
| Type | Required |
|---|---|
| number | No |
borderStartColor
| Type | Required |
|---|---|
| color | No |
borderStyle
| Type | Required |
|---|---|
| enum('solid', 'dotted', 'dashed') | No |
borderTopColor
| Type | Required |
|---|---|
| color | No |
borderTopEndRadius
| Type | Required |
|---|---|
| number | No |
borderTopLeftRadius
| Type | Required |
|---|---|
| number | No |
borderTopRightRadius
| Type | Required |
|---|---|
| number | No |
borderTopStartRadius
| Type | Required |
|---|---|
| number | No |
borderTopWidth
| Type | Required |
|---|---|
| number | No |
borderWidth
| Type | Required |
|---|---|
| number | No |
opacity
| Type | Required |
|---|---|
| number | No |
elevation
(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.
| Type | Required | Platform |
|---|---|---|
| number | No | Android |