Skip to content

Commit

Permalink
fix: Added transalation for Table
Browse files Browse the repository at this point in the history
  • Loading branch information
vasmohi committed Jul 16, 2024
1 parent fed8b61 commit d8aea2b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/component/src/Table/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ group:

<!-- prettier-ignore -->
:::warning
由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange
Since the paginator has been rewritten, this onChange will not trigger paging. Use the onChange of the paging component.
:::

## Basic Table
Expand All @@ -25,20 +25,20 @@ group:
<AELFDProvider
customTokens={
customTable: {
// 表格头部圆角
// Table header rounded corners
headerBorderRadius: 6,
},
}
theme={{
components:{
Table: {
// 表头背景
// header background
headerBg: appearance === 'dark' ? '#353535' : '#F0F0F0',
// 表格行悬浮背景色
// Table row floating background color
rowHoverBg: appearance === 'dark' ? '#212121' : '#F8F8F8',
// 表头文字颜色
// Header text color
headerColor: appearance === 'dark' ? '#8C8C8C' : '#808080',
// 控制标题类组件(如 h1、h2、h3)或选中项的字体粗细,这里设置改变了表头的字体粗细
// Control the font thickness of title components (such as h1, h2, h3) or selected items. The setting here changes the font thickness of the header.
fontWeightStrong: 500,
}
}
Expand All @@ -53,13 +53,13 @@ refer to[Table Token](https://ant.design/components/table-cn#%E4%B8%BB%E9%A2%98%

<!-- prettier-ignore -->
:::warning
由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange
Since the paginator has been rewritten, this onChange will not trigger paging. Use the onChange of the paging component.
:::

| Property | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| pagination <Badge type='warning'>修改</Badge> | [分页组件api](/components/pagination) | | | `1.0.0` |
| onChange <Badge type='warning'>修改</Badge> | 分页变化不会触发这个api | | | `1.0.0` |
| pagination <Badge type='warning'>Revise</Badge> | [Pagination component api](/components/pagination) | | | `1.0.0` |
| onChange <Badge type='warning'>Revise</Badge> | Pagination changes will not trigger this api | | | `1.0.0` |

## Supported API

Expand Down

0 comments on commit d8aea2b

Please sign in to comment.