// @mui
import {
Button,
Box,
Stepper,
Step,
StepLabel,
Card,
Typography,
Divider,
Stack,
} from '@mui/material';
import { Add } from '@mui/icons-material';
// components
import MuiDialog from '../../components/MuiDialog';
// theme
import palette from '../../theme/palette';
// React
import { ReactElement } from 'react';
type DataContent = {
info: string;
date: string;
time: string;
};
type MuiDialogProps = {
title?: {
name?: string;
icon?: string;
};
openDialog: boolean;
setOpenDialog: Function;
content?: ReactElement;
data?: DataContent[];
};
const steps = ['Review', 'Approval', 'Disbursement'];
const DialogDetailClaim = ({ title, openDialog, setOpenDialog, data }: MuiDialogProps) => {
const getContent = () => (
<>
Claim Request
Submission date
15 / 05 / 2022
{steps.map((label) => (
{label}
))}
17 Mei 2022
{/* Item 1 */}
09:10 WIB
Approval
Details : mohon melengkapi kekurangan dokumen
Lab pemeriksaan darah
}
fullWidth
sx={{ typography: 'subtitle2', borderColor: '#F5F5F5' }}
>
Hasil Pemeriksaan Laboratorium
{/* Item 2 */}
09:00 WIB
Approval
Details : Penilaian Dokter
{/* Item 3 */}
08:00 WIB
Review
Details : Klaim Diajukan
>
);
return (
);
};
export default DialogDetailClaim;