From d248c2d8848b18054532b2b5ced724213a8f8f71 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Tue, 3 May 2022 21:33:07 -0700 Subject: [PATCH] doc: add isRed with infoBox--red class --- src/InfoBox.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 (