"use strict";

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

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

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

var _react = _interopRequireDefault(require("react"));

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

var _Pane = require("../../Pane");

var _Icon = require("../../Icon");

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 logoProps = function logoProps(_ref) {
  var size = _ref.size,
      color = _ref.color;
  return {
    border: color,
    spacing: {
      p: 0.5
    },
    children: _react["default"].createElement(_Icon.Logo, {
      size: size - 2,
      color: color
    })
  };
};

var Logo = (0, _styledComponents["default"])(_Pane.Pane).attrs(logoProps).withConfig({
  displayName: "src__Logo",
  componentId: "sc-1rbmhjh-0"
})(["display:inline-flex;"]);
exports.Logo = Logo;
Logo.propTypes = _objectSpread({}, _Pane.Pane.propTypes, {}, _Icon.Logo.propTypes);
Logo.defaultProps = {
  size: 8,
  color: 'black',
  border: 'black'
};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9jb21wb25lbnRzL0xvZ28vc3JjL2luZGV4LmpzeCJdLCJuYW1lcyI6WyJsb2dv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