"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 StyledTextButton =
/*#__PURE__*/
(0, _reactEmotion2["default"])(_BaseButton.StyledBaseButton, {
  target: "ed067lg0"
})("background:", _presets.palette.white, ";border:1px solid ", _presets.palette.white, ";color:", _presets.colors.lilac, ";:focus,:hover{color:", _presets.colors.gatsby, ";}");

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

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