MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / beginDrag

Function beginDrag

examples/04 Sortable/Simple/Card.js:16–21  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

14
15const cardSource = {
16 beginDrag(props) {
17 return {
18 id: props.id,
19 index: props.index,
20 };
21 },
22};
23
24const cardTarget = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected