I am very New to React, I am trying to Upload files, after uploading files it has to upload only these formats Video,Photos,Pdf,Excel file,Docs,Csv,Audio and size should not exceeded more that 25 mb, can you please tell me how to resolve this issue. I am not aware what event I have to use while uploading file. This is what I tried.
import React from "react";
import 'antd/dist/antd.css';
import { Upload, message, Button } from 'antd';
import { UploadOutlined } from '@ant-design/icons';
import "./App.css";
const App = () => {
return (
<div>
<Upload>
<Button>
<UploadOutlined />Click to Upload
</Button>
</Upload>
</div>
)
}
export default App
```