diff --git a/src/InfoBox.js b/src/InfoBox.js index b6feacf..12d29ec 100644 --- a/src/InfoBox.js +++ b/src/InfoBox.js @@ -2,11 +2,13 @@ import React from "react"; import "./InfoBox.css"; import { Card, CardContent, Typography } from "@material-ui/core"; -function InfoBox({ title, cases, active, total, ...props }) { +function InfoBox({ title, cases, active, isRed, total, ...props }) { return (