update API

This commit is contained in:
afc163 2015-07-10 17:50:48 +08:00
parent 4d2ce026ce
commit c9237c8e62
2 changed files with 7 additions and 6 deletions

View File

@ -13,7 +13,8 @@ let AntTable = React.createClass({
return {
prefixCls: 'ant-table',
useFixedHeader: false,
rowSelection: null
rowSelection: null,
size: 'normal'
};
},
handleSelect(e) {

View File

@ -17,8 +17,8 @@
### Table
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|------------|------------------------------------------|---------------|---------|---------|
| checkable | 列表项是否可选择 | boolean | | false |
| pagenation | 分页器 | React.Element | | |
| size | 正常或迷你类型 | string | | |
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------------|-------------------------|---------------|--------------------|---------|
| rowSelection | 列表项是否可选择 | Object | | false |
| pagenation | 分页器 | React.Element | | |
| size | 正常或迷你类型 | string | `normal` or `mini` | normal |