mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
doc: fix expandedRowRender type, close #7901
This commit is contained in:
parent
2356333c54
commit
fda3f6ddcd
@ -59,7 +59,7 @@ const columns = [{
|
||||
| columns | Columns of table | [ColumnProps](https://git.io/vMMXC)[] | - |
|
||||
| rowKey | Row's unique key, could be a string or function that returns a string | string\|Function(record):string | `key` |
|
||||
| rowClassName | Row's className | Function(record, index):string | - |
|
||||
| expandedRowRender | Expanded container render for each row | Function | - |
|
||||
| expandedRowRender | Expanded container render for each row | Function(record):ReactNode | - |
|
||||
| defaultExpandedRowKeys | Initial expanded row keys | string[] | - |
|
||||
| expandedRowKeys | Current expanded row keys | string[] | - |
|
||||
| defaultExpandAllRows | Expand all rows initially | boolean | `false` |
|
||||
|
@ -60,7 +60,7 @@ const columns = [{
|
||||
| columns | 表格列的配置描述,具体项见下表 | [ColumnProps](https://git.io/vMMXC)[] | - |
|
||||
| rowKey | 表格行 key 的取值,可以是字符串或一个函数 | string\|Function(record):string | 'key' |
|
||||
| rowClassName | 表格行的类名 | Function(record, index):string | - |
|
||||
| expandedRowRender | 额外的展开行 | Function | - |
|
||||
| expandedRowRender | 额外的展开行 | Function(record):ReactNode | - |
|
||||
| defaultExpandedRowKeys | 默认展开的行 | string[] | - |
|
||||
| expandedRowKeys | 展开的行,控制属性 | string[] | - |
|
||||
| defaultExpandAllRows | 初始时,是否展开所有行 | boolean | false |
|
||||
|
Loading…
Reference in New Issue
Block a user