'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');

var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _DragGroupSeparatorContainer = require('./DragGroupSeparatorContainer');

var _DragGroupSeparatorContainer2 = _interopRequireDefault(_DragGroupSeparatorContainer);

var _DragGroupSeparatorContent = require('./DragGroupSeparatorContent');

var _DragGroupSeparatorContent2 = _interopRequireDefault(_DragGroupSeparatorContent);

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

exports.default = function (_ref) {
  var children = _ref.children,
      rest = (0, _objectWithoutProperties3.default)(_ref, ['children']);
  return _react2.default.createElement(
    _DragGroupSeparatorContainer2.default,
    rest,
    _react2.default.createElement(
      _DragGroupSeparatorContent2.default,
      null,
      children
    )
  );
};