import { Dialog, DialogTitle, DialogContent, DialogActions, Button, TextField, } from "@mui/material"; interface StatusChangeDialogProps { open: boolean; newStatus: string; reason: string; setReason: React.Dispatch>; handleClose: () => void; handleSave: () => void; } const StatusChangeDialog = ({ open, newStatus, reason, setReason, handleClose, handleSave, }: StatusChangeDialogProps) => { return ( Change Status You want to change the status to {newStatus}. Please provide a reason for the change. setReason(e.target.value)} sx={{ mt: 2 }} /> ); }; export default StatusChangeDialog;