diff --git a/src/InfoBox.js b/src/InfoBox.js index 30176b2..167501f 100644 --- a/src/InfoBox.js +++ b/src/InfoBox.js @@ -2,9 +2,9 @@ import React from "react"; import "./InfoBox.css"; import { Card, CardContent, Typography } from "@material-ui/core"; -function InfoBox({ title, cases, total }) { +function InfoBox({ title, cases, total, ...props }) { return ( - + {title} @@ -20,4 +20,4 @@ function InfoBox({ title, cases, total }) { ); } -export default InfoBox; \ No newline at end of file +export default InfoBox;