import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

import styled from 'styled-components';
import borderMixin from '../../../mixins/color';
import spacingMixin from '../../../mixins/spacing';
export var Break = styled.hr.withConfig({
  displayName: "src__Break",
  componentId: "sc-1tyk0wy-0"
})(["", ";", ";width:100%;border-top-style:solid;", ";"], spacingMixin, borderMixin, function (_ref) {
  var _ref$width = _ref.width,
      width = _ref$width === void 0 ? 1 : _ref$width,
      theme = _ref.theme;
  return width && "border-top-width: ".concat(theme.spacing(width, 'border'));
});
Break.propTypes = _objectSpread(_objectSpread({}, spacingMixin.propTypes), borderMixin.propTypes);
Break.defaultProps = _objectSpread(_objectSpread({}, borderMixin.defaultProps), {}, {
  border: 'black',
  spacing: {
    my: 2
  }
});
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9jb21wb25lbnRzL0JyZWFrL3NyYy9pbmRleC5qc3giXSwibmFtZXMiOlsic3R5bGVkIiwiYm9yZGVyTWl4aW4iLCJzcGFjaW5nTWl4aW4iLCJCcmVhayIsImhyIiwid2lkdGgiLCJ0aGVtZSIsInNwYWNpbmciLCJwcm9wVHlwZXMiLCJkZWZhdWx0UHJvcHMiLCJ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