"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _fdx = require("@whalecloud/fdx");

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

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

function CommonAddPicCard(_ref) {
  var onAdd = _ref.onAdd;
  return (
    /*#__PURE__*/
    // <span className="ant-upload ant-upload-select ant-upload-select-picture-card" onClick={() => onAdd()}>
    //   <span className="ant-upload">
    //     <div>
    //       <Icon type="plus" />
    //     </div>
    //   </span>
    // </span>
    _react["default"].createElement("div", {
      className: "uploading",
      onClick: function onClick() {
        return onAdd();
      }
    }, /*#__PURE__*/_react["default"].createElement(_fdx.Icon, {
      type: "plus",
      style: {
        fontSize: 32,
        color: '#abacb2',
        cursor: 'pointer'
      }
    }))
  );
}

var _default = CommonAddPicCard;
exports["default"] = _default;