Skip to content

Commit

Permalink
flex transition, ref #329
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang740 committed Aug 28, 2017
1 parent 0b2c14f commit 6646cfb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/flex/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Support WEB, React-Native.

Properties | Descrition | Type | Default
-----------|------------|------|--------
| direction | how flex items are placed in the flex container,value could be `row`,`row-reverse`,`column`,`column-reverse`,RN 仅支持`row`,`column` | String | `row` |
| wrap | 子元素的换行方式,可选`nowrap`,`wrap`,`wrap-reverse`,RN 仅支持`nowrap`,`wrap` | String | `nowrap` |
| justify | 子元素在主轴上的对齐方式,可选`start`,`end`,`center`,`between`,`around` | String | `start` |
| align | 子元素在交叉轴上的对齐方式,可选`start`,`center`,`end`,`baseline`,`stretch` RN仅支持`start`,`end`,`center`,`stretch` | String | `center` |
| alignContent(`web only`) | 有多根轴线时的对齐方式,可选`start`,`end`,`center`,`between`,`around`,`stretch` | String | `stretch` |
| direction | how flex items are placed in the flex container,value could be `row`,`row-reverse`,`column`,`column-reverse`,RN only support `row`,`column` | String | `row` |
| wrap | the wrap way of sub-elements,option `nowrap`,`wrap`,`wrap-reverse`,RN only support `nowrap`,`wrap` | String | `nowrap` |
| justify | the way of alignment for sub-elements of main axis, option `start`,`end`,`center`,`between`,`around` | String | `start` |
| align | the way of alignment for sub-elements of cross-axis, option `start`,`center`,`end`,`baseline`,`stretch` RN only support `start`,`end`,`center`,`stretch` | String | `center` |
| alignContent(`web only`) | the way of alignment when have multiple axes, option `start`,`end`,`center`,`between`,`around`,`stretch` | String | `stretch` |

### Flex.Item

Flex.Item 组件默认加上了样式`flex:1`,保证所有 item 平均分宽度, Flex 容器的 children 不一定是 Flex.Item
Flex.Item component has style `flex:1` as default, ensure all items average division width, Flex container‘s children maybe not Flex.Item.

0 comments on commit 6646cfb

Please sign in to comment.