'use strict';

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

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,
      onClick = _ref.onClick;
  return _react2.default.createElement(
    _DragGroupSeparatorContainer2.default,
    { onClick: onClick },
    _react2.default.createElement(
      _DragGroupSeparatorContent2.default,
      null,
      children
    )
  );
};