鍍金池/ 教程/ HTML/ Flexbox
JavaScript 環(huán)境
計時器
Native 模塊(iOS)
入門
在設(shè)備上運行
ProgressBarAndroid
iOS 應(yīng)用程序狀態(tài)
網(wǎng)絡(luò)
ToolbarAndroid
測試
輔助功能
網(wǎng)絡(luò)信息
DrawerLayoutAndroid
樣式表
手勢應(yīng)答系統(tǒng)
與現(xiàn)有的應(yīng)用程序集成
樣式
教程
不透明觸摸
調(diào)試 React Native 應(yīng)用
iOS 活動指示器
導(dǎo)航器
無反饋觸摸
動畫布局
Web 視圖
鏈接庫
像素比率
React Native 官網(wǎng)首頁介紹
iOS 導(dǎo)航器
交互管理器
全景響應(yīng)器
SwitchAndroid
TabBarIOS.Item
相機滾動
ToastAndroid
iOS 震動
BackAndroid
文本輸入
iOS 選擇器
應(yīng)用程序注冊表
iOS 開關(guān)
滾動視圖
iOS 日期選擇器
iOS 警告
iOS 鏈接
視圖
圖片
列表視圖
異步存儲
Native UI 組件(Android)
iOS 滑塊
Map 視圖
高亮觸摸
iOS 推送通知
文本
定位
iOS 狀態(tài)欄
Native UI 組件(iOS)
在設(shè)備上運行(Android)
Native 模塊(Android)
Flexbox
已知 Issues
iOS 選項卡
安裝 Android 運行環(huán)境

Flexbox

屬性

Edit on GitHub

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

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

borderBottomWidth 數(shù)值型

borderLeftWidth 數(shù)值型

borderRightWidth 數(shù)值型

borderTopWidth 數(shù)值型

borderWidth 數(shù)值型

bottom 數(shù)值型

flex 數(shù)值型

flexDirection enum('row', 'column')

flexWrap enum('wrap', 'nowrap')

height 數(shù)值型

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

left 數(shù)值型

margin 數(shù)值型

marginBottom 數(shù)值型

marginHorizontal 數(shù)值型

marginLeft 數(shù)值型

marginRight 數(shù)值型

marginTop 數(shù)值型

marginVertical 數(shù)值型

padding 數(shù)值型

paddingBottom 數(shù)值型

paddingHorizontal 數(shù)值型

paddingLeft 數(shù)值型

paddingRight 數(shù)值型

paddingTop 數(shù)值型

paddingVertical 數(shù)值型

position enum('absolute', 'relative')

right 數(shù)值型

top 數(shù)值型

width 數(shù)值型

上一篇:iOS 警告下一篇:BackAndroid