diff --git a/src/components/popover/index.en.md b/src/components/popover/index.en.md index b9cb1c3e4b..54fcd6145e 100644 --- a/src/components/popover/index.en.md +++ b/src/components/popover/index.en.md @@ -22,7 +22,7 @@ Navigation applicable to functions can only be evoked by the icons on the naviga | Name | Description | Type | Default | | --- | --- | --- | --- | -| children | The element that triggered the popover | `React.ReactElement` | - | +| children | The element that triggered the Popover | `React.ReactElement` | - | | content | The content of the Popover | `React.ReactNode` | - | | defaultVisible | Whether to show or hide by default | `boolean` | `false` | | destroyOnHide | When hiding, whether to destroy the content of `tooltip` | `boolean` | `false` | diff --git a/src/components/popover/index.zh.md b/src/components/popover/index.zh.md index d28aa5e41a..b09e4b0a42 100644 --- a/src/components/popover/index.zh.md +++ b/src/components/popover/index.zh.md @@ -22,7 +22,7 @@ | 属性 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| children | 触发 `popover` 的元素 | `React.ReactElement` | - | +| children | 触发 `Popover` 的元素 | `React.ReactElement` | - | | content | 弹出内容 | `React.ReactNode` | - | | defaultVisible | 默认是否显隐 | `boolean` | `false` | | destroyOnHide | 隐藏时,是否销毁 `tooltip` 内容 | `boolean` | `false` | diff --git a/src/components/progress-bar/index.zh.md b/src/components/progress-bar/index.zh.md index 02320286d3..abcd14a5d2 100644 --- a/src/components/progress-bar/index.zh.md +++ b/src/components/progress-bar/index.zh.md @@ -18,7 +18,7 @@ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | -| percent | 百分比 | `number` | `0` | +| percent | 进度条百分比 | `number` | `0` | | rounded | 是否圆角 | `boolean` | `true` | | text | 是否显示进度文字,支持自定义渲染内容 | `boolean \| ReactNode \| ((percent: number) => ReactNode)` | `false` | diff --git a/src/components/progress-circle/index.zh.md b/src/components/progress-circle/index.zh.md index 7e9b6e27ec..1996ed9d74 100644 --- a/src/components/progress-circle/index.zh.md +++ b/src/components/progress-circle/index.zh.md @@ -14,10 +14,10 @@ ### 属性 -| 参数 | 说明 | 类型 | 默认值 | -| -------- | ---------- | ----------------- | ------ | -| children | 自定义信息 | `React.ReactNode` | - | -| percent | 百分比 | `number` | `0` | +| 参数 | 说明 | 类型 | 默认值 | +| -------- | ------------ | ----------------- | ------ | +| children | 自定义信息 | `React.ReactNode` | - | +| percent | 进度圈百分比 | `number` | `0` | ### CSS 变量 diff --git a/src/components/swipe-action/index.en.md b/src/components/swipe-action/index.en.md index d0a73019a0..ede2be1e01 100644 --- a/src/components/swipe-action/index.en.md +++ b/src/components/swipe-action/index.en.md @@ -19,10 +19,10 @@ Swipe to reveal hidden function menus. | closeOnAction | Whether to return to the position automatically when the operation button is clicked | `boolean` | `true` | | closeOnTouchOutside | Whether to return to the position automatically when other areas is clicked | `boolean` | `true` | | leftActions | List of operation buttons on the left | `Action[]` | `[]` | -| onAction | Triggered when operation button is clicked | `(action: Action, e: React.MouseEvent) => void` | - | | rightActions | List of operation buttons on the right | `Action[]` | `[]` | +| onAction | Triggered when operation button is clicked | `(action: Action, e: React.MouseEvent) => void` | - | | stopPropagation | Stop the propagation of some events. | `PropagationEvent[]` | `[]` | -| onActionsReveal | Triggered when the operation button appears completely | (side: 'left' \| 'right') => void | - | +| onActionsReveal | Triggered when the operation button appears completely | `(side: 'left' \| 'right') => void` | - | ### Action diff --git a/src/components/swipe-action/index.zh.md b/src/components/swipe-action/index.zh.md index 44896474f2..b9dbcc08bf 100644 --- a/src/components/swipe-action/index.zh.md +++ b/src/components/swipe-action/index.zh.md @@ -19,10 +19,10 @@ | closeOnAction | 是否在点击操作按钮时自动归位 | `boolean` | `true` | | closeOnTouchOutside | 是否在点击其他区域时自动归位 | `boolean` | `true` | | leftActions | 左侧的操作按钮列表 | `Action[]` | `[]` | -| onAction | 点击操作按钮时触发 | `(action: Action, e: React.MouseEvent) => void` | - | | rightActions | 右侧的操作按钮列表 | `Action[]` | `[]` | +| onAction | 点击操作按钮时触发 | `(action: Action, e: React.MouseEvent) => void` | - | | stopPropagation | 阻止某些事件的冒泡 | `PropagationEven[]` | `[]` | -| onActionsReveal | 按钮完全出现时触发 | (side: 'left' \| 'right') => void | - | +| onActionsReveal | 按钮完全出现时触发 | `(side: 'left' \| 'right') => void` | - | ### Action diff --git a/src/components/switch/index.en.md b/src/components/switch/index.en.md index 46a8fd86ee..bb65e4f9b3 100644 --- a/src/components/switch/index.en.md +++ b/src/components/switch/index.en.md @@ -19,7 +19,7 @@ switch selector. | Name | Description | Type | Default | | --- | --- | --- | --- | -| beforeChange | Execute before change | `(val: boolean) => Promise` | - | +| beforeChange(deprecated) | Execute before change (Deprecated, recommend using the onChange attribute.) | `(val: boolean) => Promise` | - | | checked | Specify whether it is currently opened | `boolean` | `false` | | checkedText | Selected text | `ReactNode` | - | | defaultChecked | Whether to open initially | `boolean` | `false` |