import React from 'react';
import PropTypes from 'prop-types';
import { a as withNano, b as classNames } from '../chunk-566df01b.js';
import { a as classCallCheck, b as createClass, c as defineProperty, d as inherits, e as objectWithoutProperties, f as possibleConstructorReturn, g as slicedToArray, h as _typeof, i as _extends } from '../chunk-aad905a2.js';
import '../chunk-aeb80e51.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 = objectWithoutProperties(_ref, ['classes', 'className', 'noMargin']);
  return React.createElement('hr', _extends({ className: classNames(noMargin && classes.noMargin, className) }, rest));
};

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

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

export default Separator$1;
//# sourceMappingURL=index.js.map
