import { VFC } from 'react';
import { ChangeRequestState } from '../changeRequest.types';
import { Badge } from 'component/common/Badge/Badge';
import { Check, CircleOutlined, Close } from '@mui/icons-material';
interface IChangeRequestStatusBadgeProps {
state: ChangeRequestState;
}
const ReviewRequiredBadge: VFC = () => (
}>
Review required
);
const DraftBadge: VFC = () => Draft;
export const ChangeRequestStatusBadge: VFC = ({
state,
}) => {
switch (state) {
case 'Draft':
return ;
case 'In review':
return ;
case 'Approved':
return (
}>
Approved
);
case 'Applied':
return (
}>
Applied
);
case 'Cancelled':
return (
}>
Cancelled
);
case 'Rejected':
return (
}>
Rejected
);
default:
return ;
}
};