Skip to content

Commit

Permalink
doc: add since tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Feb 21, 2024
1 parent 6ac7b05 commit 2daa00f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions en/option/partial/tooltip-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ Interface:
(value: number | string, dataIndex: number) => string
```

> `dataIndex` is provided since `v5.5.0`.

Example:
```ts
// Add $ prefix
Expand Down
4 changes: 3 additions & 1 deletion zh/option/partial/tooltip-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,11 @@ tooltip 中数值显示部分的格式化回调函数。
回调函数格式:

```ts
(value: number | string) => string
(value: number | string, dataIndex: number) => string
```

>`v5.5.0` 版本起提供 `dataIndex`

示例:

```ts
Expand Down

0 comments on commit 2daa00f

Please sign in to comment.