1. 程式人生 > >Be what you wanna be

Be what you wanna be

ReactNative中元素支援的style屬性:
alignItems
alignSelf
backfaceVisibility
backgroundColor
borderBottomColor
borderBottomLeftRadius

borderBottomRightRadius

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