-
Notifications
You must be signed in to change notification settings - Fork 267
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
refactor: progress #943
Conversation
| --nutui-progress-large-text-top | `$progress-insidetext-top` | | ||
| 名称 | 说明 | 默认值 | | ||
| --- | --- | --- | | ||
| --nutui-progress-height | 进度条宽度 | `10px` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
进度条宽度吗?
src/packages/progress/progress.tsx
Outdated
textType: TextType | ||
status: boolean | ||
icon: ReactNode | ||
animated: boolean | ||
children: ReactNode |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BasicComponent 里已有children~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已修改
migrate-from-v1.md
Outdated
- strokeColor 重命名为 color | ||
- fillColor 重命名为 background | ||
- 移除 size,通过 strokeWidth、css 变量实现尺寸自定义 | ||
- status 重命名为 animated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议说明一下 为什么重命名为 animated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已添加说明
No description provided.