import React from "react"; import "./InfoBox.css"; import { Card, CardContent, Typography } from "@material-ui/core"; function InfoBox({ title, cases, active, isRed, total, ...props }) { return ( {title}

{cases}

{total} Total
); } export default InfoBox;