'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var React = require('react');
var React__default = _interopDefault(React);
var PropTypes = _interopDefault(require('prop-types'));
var __chunk_1 = require('../chunk-f817ce38.js');
var __chunk_3 = require('../chunk-6d243953.js');
require('../chunk-2b268ae7.js');

var styles = (function (theme) {
  return {
    noMargin: { margin: 0 }
  };
});

var Separator = function Separator(_ref) {
  var classes = _ref.classes,
      className = _ref.className,
      noMargin = _ref.noMargin,
      rest = __chunk_3.objectWithoutProperties(_ref, ['classes', 'className', 'noMargin']);
  return React__default.createElement('hr', __chunk_3._extends({ className: __chunk_1.classNames(noMargin && classes.noMargin, className) }, rest));
};

Separator.propTypes = {
  noMargin: PropTypes.bool,
  classes: PropTypes.object,
  className: PropTypes.string
};

var Separator$1 = __chunk_1.withNano(styles)(Separator);

module.exports = Separator$1;
//# sourceMappingURL=index.js.map
