Skip to content

Commit

Permalink
fix: Added transalation for ProgressModal
Browse files Browse the repository at this point in the history
  • Loading branch information
vasmohi committed Jul 16, 2024
1 parent da80489 commit 5760603
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/component/src/ProgressModal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ group:

| Property | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| stepsData | 步骤数据 | [IStepItem[]](#istepitem) | - | `1.0.0` |
| desc | 弹窗描述信息 | `ReactNode` | - | `1.0.0` |
| strokeColor | 成功进度条颜色 | `string` | 跟随`progress`组件主色 | `1.0.0` |
| strokeErrorColor | 失败进度条颜色 | `string` | 跟随`progress`组件`error` | `1.0.0` |
| trailColor | 进度条底色 | `string` | 跟随`progress`组件`trailColor` | `1.0.0` |
| successIcon | 成功步骤图标 | `ReactNode` | `<ProgressSuccessIcon />` | `1.0.0` |
| errorIcon | 失败步骤图标 | `ReactNode` | `<ProgressErrorIcon />` | `1.0.0` |
| stepsData | Step data | [IStepItem[]](#istepitem) | - | `1.0.0` |
| desc | Pop-up window description information | `ReactNode` | - | `1.0.0` |
| strokeColor | Success progress bar color | `string` | Follow the main color of the `progress` component | `1.0.0` |
| strokeErrorColor | Failure progress bar color | `string` | Follow the `error` color of the `progress` component | `1.0.0` |
| trailColor | Progress bar background color | `string` | Follow the `progress` component `trailColor` color | `1.0.0` |
| successIcon | Success steps icons | `ReactNode` | `<ProgressSuccessIcon />` | `1.0.0` |
| errorIcon | Failed step icon | `ReactNode` | `<ProgressErrorIcon />` | `1.0.0` |

### IStepItem

| Property | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| title | 设置title | `ReactNode` | - | `1.0.0` |
| subTitle | 设置subTitle | `ReactNode` | - | `1.0.0` |
| percent | 当前步骤进度条百分比 | `number` | - | `1.0.0` |
| progressTip | 当前步骤进度条下方文本描述 | `ReactNode` | - | `1.0.0` |
| status | 当前步骤状态 | [ProgressLineType](#progresslinetype) | - | `1.0.0` |
| available | 控制当前步骤文案黑色还是灰色 | `boolean` | - | `1.0.0` |
| title | Set title | `ReactNode` | - | `1.0.0` |
| subTitle | Set subTitle | `ReactNode` | - | `1.0.0` |
| percent | Current step progress bar percentage | `number` | - | `1.0.0` |
| progressTip | Text description below the progress bar of the current step | `ReactNode` | - | `1.0.0` |
| status | Current step status | [ProgressLineType](#progresslinetype) | - | `1.0.0` |
| available | Control whether the copy of the current step is black or gray | `boolean` | - | `1.0.0` |

### ProgressLineType

Expand Down

0 comments on commit 5760603

Please sign in to comment.