【React Native】文件翻譯閱讀紀錄 - APIs - View Style Props

by - 上午9:00

Facebook Open Source React Native



View Style Props

Props




參考

Props

borderRightColor

TYPEREQUIRED
colorNo

backfaceVisibility

TYPEREQUIRED
enum('visible', 'hidden')No

borderBottomColor

TYPEREQUIRED
colorNo

borderBottomEndRadius

TYPEREQUIRED
numberNo

borderBottomLeftRadius

TYPEREQUIRED
numberNo

borderBottomRightRadius

TYPEREQUIRED
numberNo

borderBottomStartRadius

TYPEREQUIRED
numberNo

borderBottomWidth

TYPEREQUIRED
numberNo

borderColor

TYPEREQUIRED
colorNo

borderEndColor

TYPEREQUIRED
colorNo

borderLeftColor

TYPEREQUIRED
colorNo

borderLeftWidth

TYPEREQUIRED
numberNo

borderRadius

TYPEREQUIRED
numberNo

backgroundColor

TYPEREQUIRED
colorNo

borderRightWidth

TYPEREQUIRED
numberNo

borderStartColor

TYPEREQUIRED
colorNo

borderStyle

TYPEREQUIRED
enum('solid', 'dotted', 'dashed')No

borderTopColor

TYPEREQUIRED
colorNo

borderTopEndRadius

TYPEREQUIRED
numberNo

borderTopLeftRadius

TYPEREQUIRED
numberNo

borderTopRightRadius

TYPEREQUIRED
numberNo

borderTopStartRadius

TYPEREQUIRED
numberNo

borderTopWidth

TYPEREQUIRED
numberNo

borderWidth

TYPEREQUIRED
numberNo

opacity

TYPEREQUIRED
numberNo

elevation

(僅限Android)使用Android的基礎高程API設置視圖的高程。這會為項目添加陰影,並影響重疊視圖的z順序。僅在Android 5.0+上受支持,對早期版本沒有影響。
TYPEREQUIREDPLATFORM
numberNoAndroid




You May Also Like

0 意見