From c9237c8e62798ecece90915a0ef8bcc25ebc9847 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 10 Jul 2015 17:50:48 +0800 Subject: [PATCH] update API --- components/table/index.jsx | 3 ++- components/table/index.md | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/components/table/index.jsx b/components/table/index.jsx index a7a06d026e..b636d87230 100644 --- a/components/table/index.jsx +++ b/components/table/index.jsx @@ -13,7 +13,8 @@ let AntTable = React.createClass({ return { prefixCls: 'ant-table', useFixedHeader: false, - rowSelection: null + rowSelection: null, + size: 'normal' }; }, handleSelect(e) { diff --git a/components/table/index.md b/components/table/index.md index 809512726a..8a8d77673a 100644 --- a/components/table/index.md +++ b/components/table/index.md @@ -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 | -- GitLab