-
-
Notifications
You must be signed in to change notification settings - Fork 163
🐛 fix gradient for circle progress does not have unique id #76
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
Conversation
|
@zombieJ Please read this issue ant-design/ant-design#18113 (comment). How to treat progress which has |
|
Current is green. But I think this can be discuss. |
In my opinion we should keep it green. Due to how the gradient is implemented now, all paths would have the same stroke color and paths on the top would be completely invisible. |
Codecov Report
@@ Coverage Diff @@
## master #76 +/- ##
==========================================
+ Coverage 98.14% 98.34% +0.19%
==========================================
Files 5 5
Lines 108 121 +13
Branches 24 24
==========================================
+ Hits 106 119 +13
Misses 2 2
Continue to review full report at Codecov.
|
|
@zombieJ Ping. |
|
I need some help with PropTypes. PropTypes.arrayOf(PropTypes.any) // loose
// in TypeScript
export type Color = Array<string | Object>How can I write an equivalent using PropTypes? I tried: PropTypes.arrayOf(PropTypes.oneOf([PropTypes.string, PropTypes.object])),but no luck. |
PropTypes.arrayOf(
PropTypes.oneOfType([
PropTypes.string,
PropTypes.object,
])
) |
Oh I see... |
|
Hmmm... Could you help to update this. Render with 2 gradient chart and check |
|
Ok. Will do. |
|
As a matter of fact, all tests only have an expectation: |
|
Yes. That's not cool. |
|
I only added tests about gradient. Maybe we could enhance tests in another pr. |
@afc163 I think we should release a new version? I should update the main package as well.
fix ant-design/ant-design#18113
Quick preview: