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