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

Method render

examples/03 Nesting/Drag Sources/SourceBox.js:81–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 }
80
81 render() {
82 return (
83 <SourceBox
84 {...this.props}
85 forbidDrag={this.state.forbidDrag}
86 onToggleForbidDrag={() => this.handleToggleForbidDrag()}
87 />
88 );
89 }
90
91 handleToggleForbidDrag() {
92 this.setState({

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected