Skip to content

Commit

Permalink
fix(Tab, Grid): inconsistency between doc and code
Browse files Browse the repository at this point in the history
  • Loading branch information
Guan Pu authored and guanpu committed Dec 25, 2018
1 parent 43a4fd1 commit 5145fe7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/tab/index.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ Disable animation with `animation={false}`
| --------- | ---------- | --------- | ----- |
| title | Title of tab | ReactNode | - |
| closeable | If tab is closeable | Boolean | false |
| disabled | If tab is disabled | Boolean | false |
1 change: 1 addition & 0 deletions docs/tab/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ Fusion 提供了三级选项卡,分别用于不同的场景。
| --------- | ---------- | --------- | ----- |
| title | 选项卡标题 | ReactNode | - |
| closeable | 单个选项卡是否可关闭 | Boolean | false |
| disabled | 选项卡是否被禁用 | Boolean | false |
2 changes: 0 additions & 2 deletions src/grid/row.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ export default class Row extends Component {
/**
* (不支持IE9浏览器)多列垂直方向对齐方式
* @enumdesc 顶部对齐, 居中对齐, 底部对齐, 按第一行文字基线对齐, 未设置高度或设为 auto,将占满整个容器的高度
* @default 'stretch'
*/
align: PropTypes.oneOf(['top', 'center', 'bottom', 'baseline', 'stretch']),
/**
* (不支持IE9浏览器)行内具有多余空间时的布局方式
* @enumdesc 左对齐, 居中对齐, 右对齐, 两端对齐,列之间间距相等, 每列具有相同的左右间距,行两端间距是列间距的二分之一
* @default 'start'
*/
justify: PropTypes.oneOf(['start', 'center', 'end', 'space-between', 'space-around']),
/**
Expand Down

0 comments on commit 5145fe7

Please sign in to comment.