"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 StyledCancelButton =
/*#__PURE__*/
(0, _reactEmotion2["default"])(_BaseButton.StyledBaseButton, {
  target: "ekow1iz0"
})("background:", _presets.palette.white, ";border:1px solid ", _presets.palette.grey[300], ";color:", _presets.palette.grey[600], ";:focus,:hover{border:1px solid ", _presets.palette.grey[600], ";color:", _presets.palette.grey[900], ";}");

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

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