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

Method render

examples/03 Nesting/Drag Sources/TargetBox.js:71–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 render() {
72 return (
73 <TargetBox
74 {...this.props}
75 lastDroppedColor={this.state.lastDroppedColor}
76 onDrop={color => this.handleDrop(color)}
77 />
78 );
79 }
80
81 handleDrop(color) {
82 this.setState({

Callers

nothing calls this directly

Calls 1

handleDropMethod · 0.95

Tested by

no test coverage detected