mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
docs: Update drag-sorting.md (#31634)
This commit is contained in:
parent
07629f58d6
commit
a1c550ef7b
@ -7,11 +7,11 @@ title:
|
||||
|
||||
## zh-CN
|
||||
|
||||
使用自定义元素,我们可以集成 react-dnd 来实现拖拽排序。
|
||||
使用自定义元素,我们可以集成 [react-dnd](https://github.com/react-dnd/react-dnd) 来实现拖拽排序。
|
||||
|
||||
## en-US
|
||||
|
||||
By using custom components, we can integrate table with react-dnd to implement drag sorting.
|
||||
By using `components`, we can integrate table with [react-dnd](https://github.com/react-dnd/react-dnd) to implement drag sorting function.
|
||||
|
||||
```jsx
|
||||
import React, { useState, useCallback, useRef } from 'react';
|
||||
|
Loading…
Reference in New Issue
Block a user