Browse Source
docs: fix Table size default value (#39351 )
* docs: Table文档size参数不正确
* docs: table size
pull/39369/head
South
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
components/table/index.en-US.md
components/table/index.zh-CN.md
@ -124,7 +124,7 @@ const columns = [
| scroll | Whether the table can be scrollable, [config ](#scroll ) | object | - | |
| showHeader | Whether to show table header | boolean | true | |
| showSorterTooltip | The header show next sorter direction tooltip. It will be set as the property of Tooltip if its type is object | boolean \| [Tooltip props ](/components/tooltip/#API ) | true | |
| size | Size of table | `default ` \| `middle` \| `small` | `default ` | |
| size | Size of table | `large ` \| `middle` \| `small` | `large ` | |
| sortDirections | Supported sort way, could be `ascend` , `descend` | Array | \[`ascend` , `descend` ] | |
| sticky | Set sticky header and scroll bar | boolean \| `{offsetHeader?: number, offsetScroll?: number, getContainer?: () => HTMLElement}` | - | 4.6.0 (getContainer: 4.7.0) |
| summary | Summary content | (currentData) => ReactNode | - | |
@ -125,7 +125,7 @@ const columns = [
| scroll | 表格是否可滚动,也可以指定滚动区域的宽、高,[配置项](#scroll) | object | - | |
| showHeader | 是否显示表头 | boolean | true | |
| showSorterTooltip | 表头是否显示下一次排序的 tooltip 提示。当参数类型为对象时,将被设置为 Tooltip 的属性 | boolean \| [Tooltip props ](/components/tooltip/ ) | true | |
| size | 表格大小 | `default` \| `middle` \| `small` | default | |
| size | 表格大小 | `large` \| `middle` \| `small` | `large` | |
| sortDirections | 支持的排序方式,取值为 `ascend` `descend` | Array | \[`ascend` , `descend` ] | |
| sticky | 设置粘性头部和滚动条 | boolean \| `{offsetHeader?: number, offsetScroll?: number, getContainer?: () => HTMLElement}` | - | 4.6.0 (getContainer: 4.7.0) |
| summary | 总结栏 | (currentData) => ReactNode | - | |