-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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 skeleton avatar #19898
feat: add skeleton avatar #19898
Conversation
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.
Could you please add tests to make sure this change works as expected?
Deploy preview for ant-design ready! Built with commit d842563 |
Codecov Report
@@ Coverage Diff @@
## 4.0-prepare #19898 +/- ##
===============================================
+ Coverage 97.56% 97.56% +<.01%
===============================================
Files 294 294
Lines 7227 7234 +7
Branches 2001 2001
===============================================
+ Hits 7051 7058 +7
Misses 176 176
Continue to review full report at Codecov.
|
rebased. |
ping~ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d842563:
|
rebased. |
https://deploy-preview-19898--ant-design.netlify.com/components/skeleton-cn/#components-skeleton-demo-avatar These 2 example is similar. Could we merge them into one? |
merged. |
CI test failed because calendar component. |
rebased. |
@zombieJ PTAL~ |
Could you help to add a complete real world example of usage, include |
I think I can do it, how about after I finished input and progress. |
@Rustin-Liu The Skeleton component has the loading prop which can toggle visibility, but the loading prop doesn't work with Skeleton.Avatar. |
Yes, this is a misinterpretation of usage. Because I think include a avatar into a skeleton avatar is weird. You can toggle it by yourself. |
🤔 This is a ...
🔗 Related issue link
#18237
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge
View rendered components/skeleton/demo/avatar.md
View rendered components/skeleton/index.en-US.md
View rendered components/skeleton/index.zh-CN.md