import { Icon } from '@whalecloud/fdx';
import React from 'react';

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.createElement("div", {
      className: "uploading",
      onClick: function onClick() {
        return onAdd();
      }
    }, /*#__PURE__*/React.createElement(Icon, {
      type: "plus",
      style: {
        fontSize: 32,
        color: '#abacb2',
        cursor: 'pointer'
      }
    }))
  );
}

export default CommonAddPicCard;