-
-
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
fix: Add missing properties to ShowUploadListInterface #26406
fix: Add missing properties to ShowUploadListInterface #26406
Conversation
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 8eff00b:
|
Codecov Report
@@ Coverage Diff @@
## master #26406 +/- ##
=======================================
Coverage 99.75% 99.75%
=======================================
Files 383 383
Lines 7353 7353
Branches 2057 2057
=======================================
Hits 7335 7335
Misses 18 18
Continue to review full report at Codecov.
|
Can you fix this type declaration? ant-design/components/upload/Upload.tsx Line 227 in 093ba7a
|
Sure thing |
9aec4cb
to
8eff00b
Compare
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.
fgfdx
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #26405
💡 Background and solution
With the addition of
downloadIcon
andremoveIcon
to theUpload
component'sshowUploadList
prop, we need to update the relevant TS interfaceShowUploadListInterface
. Adding these two as optional properties solves the issue.📝 Changelog
ShowUploadListInterface
of Upload withremoveIcon
anddownloadIcon
properties.ShowUploadListInterface
类型添加removeIcon
和downloadIcon
属性声明。☑️ Self Check before Merge