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

Method receiveComponent

packages/react-dnd/src/createTargetFactory.js:43–45  ·  view source on GitHub ↗
(component)

Source from the content-addressed store, hash-verified

41 }
42
43 receiveComponent(component) {
44 this.component = component;
45 }
46
47 canDrop() {
48 if (!spec.canDrop) {

Callers 1

handleChildRefMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected