-
Notifications
You must be signed in to change notification settings - Fork 112
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
feat: Add stepIcon renderer #118
Conversation
Codecov Report
@@ Coverage Diff @@
## master #118 +/- ##
==========================================
+ Coverage 91.78% 98.63% +6.84%
==========================================
Files 2 2
Lines 73 73
Branches 25 25
==========================================
+ Hits 67 72 +5
+ Misses 6 1 -5
Continue to review full report at Codecov.
|
请添加测试用例 |
看了一下,这个 progress 似乎就是管 icon 的,建议类似 Table 的 |
标题和内容不符。 |
feat($step):增加precess状态下的进度特性,以百分比来展示,以及popover效果
变更点
step:steps的props里增加了progressPercentage的接口,在rc的step组件中进行调用,该函数返回reactNode,该接口的功能与progressDot类似,progressPercentage函数在antd中进行定义,在antd中,可以复用progress组件实现进度效果,进度的百分比也在antd中设置与实现;最外层div增加了的ant-steps-percentage的className,提供样式修改的能力;
增加的特性如图所示: