frontend-collective / frontend-collective/react-sortable-tree
New offer for beginDrag
Open
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
Featuring:
Could you provide props for the BeginDrag function, for example:
dnd-manager.js in wrapSource func
```jsx
beginDrag: props => {
const node = {
node: props.node,
parentNode: props.parentNode,
path: props.path,
treeIndex: props.treeIndex,
treeId: props.treeId,
};
beginDragFunc(node).then(() => {
this.startDrag(props);
});
return node;
},
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.