ReactNative中元素支持的style属性:
alignItems alignSelf backfaceVisibility backgroundColor borderBottomColor borderBottomLeftRadiusborderBottomRightRadius
borderBottomWidth
borderColor
borderLeftColor
borderLeftWidth
borderRadius
borderRightColor
borderRightWidth
borderStyle
borderTopColor
borderTopLeftRadius
borderTopRightRadius
borderTopWidth
borderWidth
bottom
color
decomposedMatrix
elevation
flex
flexDirection
flexWrap
fontFamily
fontSize
fontStyle
fontWeight
height
justifyContent : flex-start,flex-end,center,space-between,space-around
left
letterSpacing
lineHeight
margin
marginBottom
marginHorizontal
marginLeft
marginRight
marginTop
marginVertical
maxHeight
maxWidth
minHeight
minWidth
opacity
overflow
overlayColor
padding
paddingBottom
paddingHorizontal
paddingLeft
paddingRight
paddingTop
paddingVertical
position
resizeMode
right
rotation
scaleX
scaleY
shadowColor
shadowOffset
shadowOpcity
shadowRadius
textAlign
textAlignVertical
textDecorationColor
textDecorationLine
textDecorationStyle
textShadowColor
textShadowOffset
textShadowRadius
tintColor
top
transform
transformMatrix
translateX
translateY
width
writingDirection
zIndex