ExceptionsCard

master
Tudor Stanciu 2021-05-16 15:03:48 +03:00
parent faf5178de5
commit eb4a76270e
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
import React from "react";
import PropTypes from "prop-types";
import ExpandableCard from "../../../../../../components/common/ExpandableCard";
import { useTranslation } from "react-i18next";
import PriorityHighIcon from "@material-ui/icons/PriorityHigh";
const ExceptionsCard = ({ exceptions }) => {
const { t } = useTranslation();
return (
<ExpandableCard
Icon={<PriorityHighIcon />}
iconVariant="rounded"
title={t("Forward.Options.Exceptions")}
smallHeader
Content={<div>CONTENT...</div>}
/>
);
};
ExceptionsCard.propTypes = {
exceptions: PropTypes.array.isRequired
};
export default ExceptionsCard;