docs: fix syntax error (#9764)

This commit is contained in:
Sangle 2018-03-22 14:54:46 +08:00 committed by 偏右
parent 64cbf0910a
commit eb338425fe
2 changed files with 4 additions and 4 deletions

View File

@ -91,12 +91,12 @@ Same as `onRow` `onHeaderRow` `onCell` `onHeaderCell`
onMouseEnter: () => {}, // mouse enter row
onXxxx...
};
)}
}}
onHeaderRow={(column) => {
return {
onClick: () => {}, // click header row
};
)}
}}
/>
```

View File

@ -93,12 +93,12 @@ const columns = [{
onMouseEnter: () => {}, // 鼠标移入行
onXxxx...
};
)}
}}
onHeaderRow={(column) => {
return {
onClick: () => {}, // 点击表头行
};
)}
}}
/>
```