doc: fix expandedRowRender type, close #7901

This commit is contained in:
afc163 2017-10-16 21:20:23 +08:00
parent 2356333c54
commit fda3f6ddcd
2 changed files with 2 additions and 2 deletions

View File

@ -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` |

View File

@ -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 |