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: Anchor onClick #11898
feat: Anchor onClick #11898
Conversation
Deploy preview for ant-design ready! Built with commit 5b26077 |
ci broken |
components/anchor/Anchor.tsx
Outdated
unregisterLink: (link: string) => void; | ||
activeLink: string | null; | ||
scrollTo: (link: string) => void; | ||
propClick?: (e: React.MouseEvent<HTMLElement>, link: { title: React.ReactNode, href: string }) => void; |
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.
How about onClick
?
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.
我觉得可以
Codecov Report
@@ Coverage Diff @@
## feature-3.9.0 #11898 +/- ##
=================================================
+ Coverage 92.19% 92.85% +0.65%
=================================================
Files 206 207 +1
Lines 5395 5863 +468
Branches 1512 1694 +182
=================================================
+ Hits 4974 5444 +470
+ Misses 417 416 -1
+ Partials 4 3 -1
Continue to review full report at Codecov.
|
ci又失败了,我觉得不是代码的问题 |
ref #10577 |
master
, feature for latest active branchfeature-x.x
.npm run lint
and fix those errors before submitting in order to keep consistent code style.Extra checklist: