"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

var _reactEmotion = require("react-emotion");

var _reactEmotion2 = _interopRequireDefault(_reactEmotion);

var _Button = require("./Button.Skeleton");

var _Button2 = _interopRequireDefault(_Button);

var _BaseButton = require("./BaseButton");

var _presets = require("../../utils/presets");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var StyledPrimaryButton =
/*#__PURE__*/
(0, _reactEmotion2["default"])(_BaseButton.StyledBaseButton, {
  target: "e1ao8tn20"
})("background:", _presets.colors.gatsby, ";border:0;color:", _presets.palette.white, ";font-weight:bold;:focus,:hover{background:", _presets.palette.purple[700], ";}");

var PrimaryButton = function PrimaryButton(props) {
  return _react2["default"].createElement(_Button2["default"], Object.assign({
    StyledComponent: StyledPrimaryButton
  }, props));
};

PrimaryButton.propTypes = _Button.buttonPropTypes;
PrimaryButton.defaultProps = _Button.buttonDefaultPropTypes;
exports["default"] = PrimaryButton;