docs: Update table resize demo desc

ref #14647
This commit is contained in:
zombiej 2020-07-10 22:55:50 +08:00
parent 95993979c5
commit ba3f84f5c5

View File

@ -7,11 +7,11 @@ title:
## zh-CN
集成 [react-resizable](https://github.com/STRML/react-resizable) 来实现可伸缩列。
集成 [react-resizable](https://github.com/STRML/react-resizable) 来实现可伸缩列。如果有排序需要,可以通过[额外标记](https://codesandbox.io/s/zrj8xvyzxx)阻止触发排序。
## en-US
Implement resizable column by integrate with [react-resizable](https://github.com/STRML/react-resizable).
Implement resizable column by integrate with [react-resizable](https://github.com/STRML/react-resizable). When sort needed, you can use [additional mark](https://codesandbox.io/s/zrj8xvyzxx) to prevent resize trigger sort.
```jsx
import { Table } from 'antd';