-
-
Notifications
You must be signed in to change notification settings - Fork 50.5k
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: export DraggerProps #51546
feat: export DraggerProps #51546
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #51546 Passed ✅
🎊 Congrats! No visual-regression diff found. |
概述此PR改进了TypeScript定义,通过直接从入口导出 变更
|
More templates
commit: |
import { Upload } from 'antd';
import type { GetProps } from 'antd';
type DraggerPropsType = GetProps<typeof Upload.Dragger>; |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #51546 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 761 761
Lines 13494 13494
Branches 3510 3510
=========================================
Hits 13494 13494 ☔ View full report in Codecov by Sentry. |
这个类型现在要从'antd/es/upload'目录去引用,不是很方便
这个类型还算比较常用的,能不能直接从入口就导出这个类型
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
📝 Change Log