"use strict";

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

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

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

var _classnames = _interopRequireDefault(require("classnames"));

require("./style/theme.css");

var _templateObject;

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

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

var LinkedButtonWrapper = _styledComponents["default"].a(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n  font-size: 14px;\n  user-select: select none;\n  font-family: 'Microsoft YaHei', 'PingFang SC';\n  &:hover {\n  }\n"])));

function ButtonLinked(_ref) {
  var children = _ref.children,
      onClick = _ref.onClick,
      className = _ref.className,
      style = _ref.style;
  // 类似于链接，只不过有一个hover效果
  return /*#__PURE__*/_react["default"].createElement(LinkedButtonWrapper, {
    className: (0, _classnames["default"])(className, "tita-linked-button"),
    style: style,
    onClick: onClick
  }, children);
}