this is react-web flex dom
使用flex
布局,模拟react-native
的View
组件
Prop | Description | Type | Default |
---|---|---|---|
style |
样式 | object |
{} |
className |
类名 | string |
undefined |
使用flex
布局,模拟react-native
的ScrollView
组件
Prop | Description | Type | Default |
---|---|---|---|
style |
样式 | object |
{} |
className |
类名 | string |
undefined |
block |
if true 使用 block 布局 |
boolean |
false |
使用flex
布局,并且获取当前窗体的最大宽度和高度来布局,一般用于最外层容器
Prop | Description | Type | Default |
---|---|---|---|
style |
样式 | object |
{} |
className |
类名 | string |
undefined |
模拟react-native
的Text
组件,使用span
布局
Prop | Description | Type | Default |
---|---|---|---|
style |
样式 | object |
{} |
className |
类名 | string |
undefined |