"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _button = _interopRequireDefault(require("antd/lib/button"));
var React = _interopRequireWildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
var RcButton = function RcButton(props) {
  var title = props.title,
    block = props.block,
    danger = props.danger,
    disabled = props.disabled,
    href = props.href,
    htmlType = props.htmlType,
    shape = props.shape,
    size = props.size,
    target = props.target,
    type = props.type,
    loading = props.loading,
    onClick = props.onClick,
    style = props.style;
  var options = {
    style: style,
    block: block,
    danger: danger,
    disabled: disabled,
    href: href,
    htmlType: htmlType,
    shape: shape,
    size: size,
    target: target,
    type: type,
    loading: loading,
    onClick: onClick
  };
  return /*#__PURE__*/React.createElement(_button["default"], options, title);
};
var _default = RcButton;
exports["default"] = _default;