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"; import { DateRangePicker } from "../DateRangePicker/DateRangePicker"; import "./FetchReport.scss"; 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 Select state (defaults to All) Select PSPs (defaults to All) Select report type ); };