Liferay.Loader.define("portal-search-ranking-web@2.0.30/js/components/list/ItemDragPreview.es", ['module', 'exports', 'require', 'frontend-js-react-web$react', './Item.es'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports["default"] = void 0;

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    var _Item = _interopRequireDefault(require("./Item.es"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { "default": obj };
    }

    function _extends() {
      _extends = Object.assign || function (target) {
        for (var i = 1; i < arguments.length; i++) {
          var source = arguments[i];for (var key in source) {
            if (Object.prototype.hasOwnProperty.call(source, key)) {
              target[key] = source[key];
            }
          }
        }return target;
      };return _extends.apply(this, arguments);
    }

    var DRAG_PREVIEW_STYLES = {
      borderRadius: '2px',
      borderWidth: 0,
      boxShadow: '0 0 0 0.125rem #FFF, 0 0 0 0.25rem #80ACFF, 0px 8px 16px rgba(39, 40, 51, 0.16)',
      fontSize: '14px',
      maxWidth: '800px'
    };

    var ItemDragPreview = function ItemDragPreview(props) {
      return _react["default"].createElement("div", {
        className: "list-group"
      }, _react["default"].createElement(_Item["default"].DecoratedComponent, _extends({
        style: DRAG_PREVIEW_STYLES
      }, props)));
    };

    var _default = ItemDragPreview;
    exports["default"] = _default;
    //# sourceMappingURL=ItemDragPreview.es.js.map
  }
});
//# sourceMappingURL=ItemDragPreview.es.js.map