React Native:Flexbox

Flexbox

属性

Edit on GitHub

alignItems enum(flex-start, flex-end, center, stretch)

alignSelf enum(auto, flex-start, flex-end, center, stretch)

borderBottomWidth 数值型

borderLeftWidth 数值型

borderRightWidth 数值型

borderTopWidth 数值型

borderWidth 数值型

bottom 数值型

flex 数值型

flexDirection enum(row, column)

flexWrap enum(wrap, nowrap)

height 数值型

justifyContent enum(flex-start, flex-end, center, space-between, space-around)

left 数值型

margin 数值型

marginBottom 数值型

marginHorizontal 数值型

marginLeft 数值型

marginRight 数值型

marginTop 数值型

marginVertical 数值型

padding 数值型

paddingBottom 数值型

paddingHorizontal 数值型

paddingLeft 数值型

paddingRight 数值型

paddingTop 数值型

paddingVertical 数值型

position enum(absolute, relative)

right 数值型

top 数值型

width 数值型

作者:admin,如若转载,请注明出处:https://www.web176.com/reactnative/22022.html

(0)
打赏 支付宝 支付宝 微信 微信
adminadmin
上一篇 2023年5月19日
下一篇 2023年5月19日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注