"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Badge = void 0;

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _styledComponentsSpacing = require("styled-components-spacing");

var _color = _interopRequireDefault(require("../../../mixins/color"));

var _font = _interopRequireDefault(require("../../../mixins/font"));

var _background = _interopRequireDefault(require("../../../mixins/background"));

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) { (0, _defineProperty2["default"])(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; }

var Badge = _styledComponents["default"].strong.withConfig({
  displayName: "src__Badge",
  componentId: "b5knt5-0"
})(["", ";", ";", ";display:inline-flex;text-transform:uppercase;text-decoration:none;text-align:center;", ""], _color["default"], _background["default"], _font["default"], (0, _styledComponentsSpacing.px)({
  xs: 0.5
}));

exports.Badge = Badge;
Badge.propTypes = _objectSpread({}, _color["default"].propTypes, {}, _font["default"].propTypes, {}, _background["default"].propTypes);
Badge.defaultProps = {
  weight: 'medium',
  background: 'black',
  color: 'white'
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9jb21wb25lbnRzL0JhZGdlL3NyYy9pbmRleC5qcyJdLCJuYW1l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