import React from 'react'; import { InboxOutlined, PlusOutlined, UploadOutlined } from '@ant-design/icons'; import { Button, Space, Upload } from 'antd'; import type { UploadFile } from 'antd/es/upload/interface'; const { Dragger } = Upload; const fileList: UploadFile[] = [ { uid: '-1', name: 'image.png', status: 'done', url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', }, { uid: '-2', name: 'image.png', status: 'done', url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', }, { uid: '-xxx', percent: 50, name: 'image.png', status: 'uploading', url: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png', }, { uid: '-5', name: 'image.png', status: 'error', }, ]; const App: React.FC = () => { const uploadButton = (
Upload
); return ( Click Text to Upload {uploadButton} {uploadButton}

Click or drag file to this area to upload

Support for a single or bulk upload. Strictly prohibited from uploading company data or other banned files.

); }; export default App;