Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-dnd/react-dnd
/ render
Method
render
examples/03 Nesting/Drop Targets/Box.js:28–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
render() {
29
const
{ connectDragSource } = this.props;
30
31
return
connectDragSource(
32
<div style={style}>
33
Drag me
34
</div>,
35
);
36
}
37
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected