import React, { useState } from 'react'; import { Typography, FormControl, InputLabel, Select, MenuItem, Button, Stack, Box, Paper, IconButton, } from '@mui/material'; import CalendarTodayIcon from '@mui/icons-material/CalendarToday'; import MoreVertIcon from '@mui/icons-material/MoreVert'; export const FetchReport = () => { const [state, setState] = useState(''); const [psp, setPsp] = useState(''); const [reportType, setReportType] = useState(''); const handleDownload = () => { // Download logic goes here alert('Report downloaded'); }; const isDownloadEnabled = state && psp && reportType; return ( Fetch Report Last 30 days Select state (defaults to All) Select PSPs (defaults to All) Select report type ); };