frontend-collective / frontend-collective/react-sortable-tree

New offer for beginDrag

Open
#738 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.