import { PlusOutlined } from '@wii/icons';
import Upload from '../upload';
import { jsx as _jsx } from "react/jsx-runtime";
const LogoUpload = props => {
  var _props$fileList;
  return /*#__PURE__*/_jsx(Upload, {
    ...props,
    accept: "image/*",
    beforeUpload: () => false,
    maxCount: 1,
    listType: "picture-card",
    showUploadList: {
      // showRemoveIcon: false,
      // showDownloadIcon: false,
      showPreviewIcon: false
    },
    children: !((_props$fileList = props.fileList) !== null && _props$fileList !== void 0 && _props$fileList.length) ? /*#__PURE__*/_jsx(PlusOutlined, {
      style: {
        fontSize: 24
      }
    }) : null
  });
};
export default LogoUpload;