mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
docs: fix syntax error (#9764)
This commit is contained in:
parent
64cbf0910a
commit
eb338425fe
@ -91,12 +91,12 @@ Same as `onRow` `onHeaderRow` `onCell` `onHeaderCell`
|
||||
onMouseEnter: () => {}, // mouse enter row
|
||||
onXxxx...
|
||||
};
|
||||
)}
|
||||
}}
|
||||
onHeaderRow={(column) => {
|
||||
return {
|
||||
onClick: () => {}, // click header row
|
||||
};
|
||||
)}
|
||||
}}
|
||||
/>
|
||||
```
|
||||
|
||||
|
@ -93,12 +93,12 @@ const columns = [{
|
||||
onMouseEnter: () => {}, // 鼠标移入行
|
||||
onXxxx...
|
||||
};
|
||||
)}
|
||||
}}
|
||||
onHeaderRow={(column) => {
|
||||
return {
|
||||
onClick: () => {}, // 点击表头行
|
||||
};
|
||||
)}
|
||||
}}
|
||||
/>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user