-
-
Notifications
You must be signed in to change notification settings - Fork 46.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
refactor: Dropdown cssinjs support #35214
Conversation
Size Change: -2.38 kB (0%) Total Size: 895 kB
|
enzyme 的 selector 看来有点问题,master 里替换一下 test case |
Codecov Report
@@ Coverage Diff @@
## next #35214 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 452 454 +2
Lines 8263 8275 +12
Branches 2319 2319
=========================================
+ Hits 8263 8275 +12
Continue to review full report at Codecov.
|
|
||
const dropdownToken = mergeToken<DropdownToken>(token, { | ||
menuCls: `${componentCls}-menu`, | ||
rootPrefixCls, |
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.
感觉可以优化掉
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.
dropdown only 的临时变量
Co-authored-by: MadCcc <1075746765@qq.com>
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Preview
https://preview-35214-ant-design.surge.sh/components/dropdown-cn/
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge