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

Method render

examples/shared/wrapInTestContext.js:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5export default function wrapInTestContext(DecoratedComponent) {
6 class TestStub extends Component {
7 render() {
8 return <DecoratedComponent {...this.props} />;
9 }
10 }
11
12 return DragDropContext(TestBackend)(TestStub);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected