function wrapInTestContext(DecoratedComponent) {
  return DragDropContext(TestBackend)(
    class TestContextContainer extends Component {
      render() {
        return <DecoratedComponent {...this.props} />;
      }
    }
  );
}
// Wraps a component in a DragDropContext that uses the dnd TestBackend.

Wraps a component in a DragDropContext that uses the dnd TestBackend.
Wraps a component in a DragDropContext that uses the dnd TestBackend .
function wrapInTestContext(DecoratedComponent) {
  return DragDropContext(TestBackend)(
    class TestContextContainer extends Component {
      render() {
        return <DecoratedComponent {...this.props} />;
      }
    }
  );
}
function wrapInTestContext ( DecoratedComponent ) { return DragDropContext ( TestBackend ) ( class TestContextContainer extends Component { render ( ) { return < DecoratedComponent { ... this . props } / > ; } } ) ; }
Wraps a component in a DragDropContext that uses the dnd TestBackend.
Wraps a component in a DragDropContext that uses the dnd TestBackend .