mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
docs: fix parameter
This commit is contained in:
parent
97b09b393b
commit
a6ffd332fa
@ -85,7 +85,7 @@ Same as `onRow` `onHeaderRow` `onCell` `onHeaderCell`
|
||||
|
||||
```jsx
|
||||
<Table
|
||||
onRow={(column) => {
|
||||
onRow={(record) => {
|
||||
return {
|
||||
onClick: () => {}, // click row
|
||||
onMouseEnter: () => {}, // mouse enter row
|
||||
|
@ -87,7 +87,7 @@ const columns = [{
|
||||
|
||||
```jsx
|
||||
<Table
|
||||
onRow={(column) => {
|
||||
onRow={(record) => {
|
||||
return {
|
||||
onClick: () => {}, // 点击行
|
||||
onMouseEnter: () => {}, // 鼠标移入行
|
||||
|
Loading…
Reference in New Issue
Block a user