Skip to content

Commit

Permalink
docs(tooltip): add missing version for textColor prop
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Sep 13, 2024
1 parent 1320f9a commit aa2a26e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/varlet-ui/src/tooltip/docs/en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Tooltip

### Intro

Displays a tooltip when the element is clicked or hovered,
and changes the display position of the tooltip by controlling the placement and offset.

Expand Down Expand Up @@ -181,7 +182,7 @@ In the `disabled` state, the tooltip will not be opened.
| `v-model:show` | Whether to show the tooltip | _boolean_ | `false` |
| `content` | Display content | _string_ | `-` |
| `color` | Tooltip background color | _string_ | `-` |
| `text-color` | Tooltip text color | _string_ | `-` |
| `text-color` ***3.5.0*** | Tooltip text color | _string_ | `-` |
| `type` | Tooltip type, can be set to `default` `primary` `info` `success` `warning` `danger` | _string_ | `default` |
| `placement` | Tooltip popup placement | _Placement_ | `bottom` |
| `strategy` | Tooltip position strategy, optional value is `absolute` `fixed` | _string_ | `absolute` |
Expand Down
2 changes: 1 addition & 1 deletion packages/varlet-ui/src/tooltip/docs/zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ import { Snackbar } from '@varlet/ui'
| `v-model:show` | 是否显示 | _boolean_ | `false` |
| `content` | 显示的内容 | _string_ | `-` |
| `color` | 背景颜色 | _string_ | `-` |
| `text-color` | 文字颜色 | _string_ | `-` |
| `text-color` ***3.5.0*** | 文字颜色 | _string_ | `-` |
| `type` | 类型,可选值为 `default` `primary` `info` `success` `warning` `danger` | _string_ | `default` |
| `placement` | 弹出位置 | _Placement_ | `bottom` |
| `strategy` | 定位方式,可选值为 `absolute` `fixed` | _string_ | `absolute` |
Expand Down

0 comments on commit aa2a26e

Please sign in to comment.