Skip to content
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

Merged
merged 3 commits into from
Jan 4, 2024
Merged

refactor: refactor indicator props #695

merged 3 commits into from
Jan 4, 2024

Conversation

li-jia-nan
Copy link
Member

@li-jia-nan li-jia-nan commented Jan 3, 2024

Copy link

vercel bot commented Jan 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tabs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2024 2:48pm

Copy link

codecov bot commented Jan 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ba563b4) 97.72% compared to head (756fee8) 97.72%.

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.
📢 Have feedback on the report? Share it here.

} = props;

const mergedIndicatorSize = indicator?.size || indicatorSize;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个兼容废弃 api 的逻辑是不是写在 antd 里面比较好一点呢?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里也可以废弃掉,不过 antd 里需要写一个 warning。

@afc163 afc163 merged commit 28b061b into master Jan 4, 2024
9 checks passed
@afc163 afc163 deleted the ref branch January 4, 2024 02:21
@afc163
Copy link
Member

afc163 commented Jan 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants