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

Function beginDrag

examples/01 Dustbin/Multiple Targets/Box.js:16–20  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

14
15const boxSource = {
16 beginDrag(props) {
17 return {
18 name: props.name,
19 };
20 },
21};
22
23@DragSource(props => props.type, boxSource, (connect, monitor) => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected