-
-
Notifications
You must be signed in to change notification settings - Fork 233
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: refactor indicator props #695
Conversation
li-jia-nan
commented
Jan 3, 2024
•
edited
Loading
edited
- Add a property "indicatorPosition" to Tabs component ant-design/ant-design#46191 (comment)
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #695 +/- ##
=======================================
Coverage 97.72% 97.72%
=======================================
Files 18 18
Lines 702 703 +1
Branches 191 192 +1
=======================================
+ Hits 686 687 +1
Misses 16 16 ☔ View full report in Codecov by Sentry. |
} = props; | ||
|
||
const mergedIndicatorSize = indicator?.size || indicatorSize; |
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.
这个兼容废弃 api 的逻辑是不是写在 antd 里面比较好一点呢?
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.
这里也可以废弃掉,不过 antd 里需要写一个 warning。