-
Notifications
You must be signed in to change notification settings - Fork 53
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
Rate component accept onMouseEnter and onMouseLeave event #127
Conversation
Codecov Report
@@ Coverage Diff @@
## master #127 +/- ##
==========================================
+ Coverage 97.02% 97.19% +0.16%
==========================================
Files 4 4
Lines 168 178 +10
Branches 51 56 +5
==========================================
+ Hits 163 173 +10
Misses 5 5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Working on it. |
const dataOrAriaAttributeProps = Object.keys(restProps).reduce( | ||
(prev, key) => { | ||
if ( | ||
key.substr(0, 5) === 'data-' || | ||
key.substr(0, 5) === 'aria-' || | ||
key === 'role' | ||
) { | ||
// eslint-disable-next-line no-param-reassign | ||
prev[key] = restProps[key]; | ||
} | ||
return prev; | ||
}, | ||
{}, | ||
); |
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.
close ant-design/ant-design#30940
close #136