Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-dnd/react-dnd
/ receiveComponent
Method
receiveComponent
packages/react-dnd/src/createSourceFactory.js:51–53 ·
view source on GitHub ↗
(component)
Source
from the content-addressed store, hash-verified
49
}
50
51
receiveComponent(component) {
52
this.component = component;
53
}
54
55
canDrag() {
56
if
(!spec.canDrag) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected