MCPcopy Create free account
hub / github.com/decaporg/decap-cms / HTML5DragDrop

Function HTML5DragDrop

packages/decap-cms-core/src/components/UI/DragDrop.js:56–70  ·  view source on GitHub ↗
(WrappedComponent)

Source from the content-addressed store, hash-verified

54};
55
56export function HTML5DragDrop(WrappedComponent) {
57 return class HTML5DragDrop extends Component {
58 static propTypes = {
59 ...WrappedComponent.propTypes,
60 };
61
62 render() {
63 return (
64 <ReactDNDProvider backend={ReactDNDHTML5Backend}>
65 <WrappedComponent {...this.props} />
66 </ReactDNDProvider>
67 );
68 }
69 };
70}

Callers 1

WorkflowList.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected