Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: progress #943

Merged
merged 21 commits into from
Apr 25, 2023
Merged

refactor: progress #943

merged 21 commits into from
Apr 25, 2023

Conversation

eiinu
Copy link
Member

@eiinu eiinu commented Apr 24, 2023

No description provided.

| --nutui-progress-large-text-top | `$progress-insidetext-top` |
| 名称 | 说明 | 默认值 |
| --- | --- | --- |
| --nutui-progress-height | 进度条宽度 | `10px` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

进度条宽度吗?

textType: TextType
status: boolean
icon: ReactNode
animated: boolean
children: ReactNode
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BasicComponent 里有 children ,可不要。

textType: TextType
status: boolean
icon: ReactNode
animated: boolean
children: ReactNode
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BasicComponent 里已有children~

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已修改

- strokeColor 重命名为 color
- fillColor 重命名为 background
- 移除 size,通过 strokeWidth、css 变量实现尺寸自定义
- status 重命名为 animated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

建议说明一下 为什么重命名为 animated

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已添加说明

@xiaoyatong xiaoyatong merged commit 3faa78e into jdf2e:next Apr 25, 2023
@eiinu eiinu deleted the v2.0-progress branch April 25, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants