-
-
Notifications
You must be signed in to change notification settings - Fork 597
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: add rowHoverable to disable hover interaction #1068
Conversation
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 #1068 +/- ##
=======================================
Coverage 97.96% 97.96%
=======================================
Files 51 51
Lines 4661 4671 +10
Branches 590 592 +2
=======================================
+ Hits 4566 4576 +10
Misses 91 91
Partials 4 4 ☔ View full report in Codecov by Sentry. |
命名为 rowHoverable 感觉更合适一点。 |
051d3de
to
15c38ca
Compare
7b54b69
to
8cc03cc
Compare
@@ -117,6 +117,7 @@ React.render(<Table columns={columns} data={data} />, mountNode); | |||
| components | Object | | Override table elements, see [#171](https://github.com/react-component/table/pull/171) for more details | | |||
| sticky | boolean \| {offsetHeader?: number, offsetScroll?: number, getContainer?: () => Window \| HTMLElement } | false | stick header and scroll bar | | |||
| summary | (data: readonly RecordType[]) => React.ReactNode | - | `summary` attribute in `table` component is used to define the summary row. | | |||
| rowHoverable | boolean | true | Table hover interaction | |
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.
ref: ant-design/ant-design#46934