import { InboxOutlined, UploadOutlined } from '@ant-design/icons'; import React from 'react'; import { Button, Checkbox, Col, ColorPicker, Form, InputNumber, Radio, Rate, Row, Select, Slider, Space, Switch, Upload, } from 'antd'; const { Option } = Select; const formItemLayout = { labelCol: { span: 6 }, wrapperCol: { span: 14 }, }; const normFile = (e: any) => { console.log('Upload event:', e); if (Array.isArray(e)) { return e; } return e?.fileList; }; const onFinish = (values: any) => { console.log('Received values of form: ', values); }; const App: React.FC = () => (
Click or drag file to this area to upload
Support for a single or bulk upload.