Skip to content

Commit 6e7bce0

Browse files
committed
docs: polish Chinese README wording
1 parent f2d0fb4 commit 6e7bce0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.zh-CN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ npm start
7979
| expandable.defaultExpandedRowKeys | String[] | [] | 初始扩展行键 |
8080
| expandable.expandedRowKeys | String[] | | 当前扩展行键 |
8181
| expandable.expandedRowRender | Function(recode, index, indent, expanded):ReactNode | | 内容渲染到扩展行 |
82-
| expandable.expandedRowClassName | `string` \| `(recode, index, indent) => string` | | 获取扩展行的className |
82+
| expandable.expandedRowClassName | `string` \| `(recode, index, indent) => string` | | 获取扩展行的 className |
8383
| expandable.expandRowByClick | boolean | | 支持点击行展开 |
8484
| expandable.expandIconColumnIndex | Number | 0 | ExpandIconAsCell 为 false 时将插入哪一列的 ExpandIcon 索引 |
8585
| expandable.expandIcon | props => ReactNode | | 自定义展开图标 |
@@ -89,7 +89,7 @@ npm start
8989
| expandable.onExpandedRowsChange | Function(expandedRows) | | 扩展行更改时调用的函数 |
9090
| expandable.fixed | String \| Boolean | - | 当表格水平滚动时,此展开图标将被修复: true 或 `left``right``expandIconColumnIndex` 需要保留在第一个或最后一个 |
9191
| rowKey | string or Function(record, index):string | 'key' | 如果 rowKey 是字符串,则 `record[rowKey]` 将用作键。如果 rowKey 是函数,则 `rowKey(record, index)` 的返回值将用作 key。 |
92-
| rowClassName | string or Function(record, index, indent):string | | 获取行的className |
92+
| rowClassName | string or Function(record, index, indent):string | | 获取行的 className |
9393
| rowRef | Function(record, index, indent):string | | 获取行 ref key |
9494
| data | Object[] | | 要呈现的数据记录数组 |
9595
| onRow | Function(record, index) | | 每行设置自定义道具。 |
@@ -129,7 +129,7 @@ tblRef.current?.scrollTo({ key: 'rowKey', align: 'start' });
129129
| 名称 | 类型 | 默认值 | 说明 |
130130
| --- | --- | --- | --- |
131131
| key | String | | 本栏目关键 |
132-
| className | String | | 该列的className |
132+
| className | String | | 该列的 className |
133133
| colSpan | Number | | 该列的 head colSpan |
134134
| title | React节点 | | 本栏目标题 |
135135
| dataIndex | String | | 数据记录的显示字段 |
@@ -157,7 +157,7 @@ tblRef.current?.scrollTo({ key: 'rowKey', align: 'start' });
157157
| 名称 | 类型 | 默认值 | 说明 |
158158
| --- | --- | --- | --- |
159159
| key | String | | 本摘要的关键 |
160-
| className | String | - | 此摘要行的className |
160+
| className | String | - | 此摘要行的 className |
161161
| 风格 | React.CSSProperties | - | 此摘要行的样式 |
162162
| onClick | (e?: React.MouseEvent\<HTMLElement>) => void | - | `Table.Summary.Row` 组件中的 `onClick` 属性可用于设置汇总行的单击事件处理程序。 |
163163

0 commit comments

Comments
 (0)