From 16a15f696fd9d2242e103acfe6e1b13d7d28d50e Mon Sep 17 00:00:00 2001 From: ztplz Date: Sat, 5 Jan 2019 17:05:43 +0800 Subject: [PATCH] Update table docs --- components/table/index.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/table/index.zh-CN.md b/components/table/index.zh-CN.md index 07c574bed9..4c3f0dedfa 100644 --- a/components/table/index.zh-CN.md +++ b/components/table/index.zh-CN.md @@ -78,7 +78,7 @@ const columns = [{ | rowSelection | 表格行是否可选择,[配置项](#rowSelection) | object | null | | scroll | 设置横向或纵向滚动,也可用于指定滚动区域的宽和高,建议为 `x` 设置一个数字,如果要设置为 `true`,需要配合样式 `.ant-table td { white-space: nowrap; }` | { x: number \| true, y: number } | - | | showHeader | 是否显示表头 | boolean | true | -| size | 正常或迷你类型,`default` or `small` | string | default | +| size | 表格大小 | default \| middle \| small | default | | title | 表格标题 | Function(currentPageData) | | | onChange | 分页、排序、筛选变化时触发 | Function(pagination, filters, sorter, extra: { currentDataSource: [] }) | | | onExpand | 点击展开图标时触发 | Function(expanded, record) | |