import React from 'react';
import TestBackend from '../../../DragDropContextProvider/TestBackend';
import DragDropContextProvider from '../../../DragDropContextProvider';
// Apply TestBackend for drag and drop on test environment
const isTestEnv = process.env.NODE_ENV === 'test';
class DraggableManager extends React.Component {
    render() {
        const { dataHook, children, backendOptions } = this.props;
        return (React.createElement("div", { "data-hook": dataHook },
            React.createElement(DragDropContextProvider, { backend: isTestEnv ? TestBackend : undefined, backendOptions: backendOptions }, children)));
    }
}
export default DraggableManager;
//# sourceMappingURL=DraggableManager.js.map