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

Function drop

examples/01 Dustbin/Single Target/Dustbin.js:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19const boxTarget = {
20 drop() {
21 return { name: 'Dustbin' };
22 },
23};
24
25@DropTarget(ItemTypes.BOX, boxTarget, (connect, monitor) => ({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected