doc: add isRed variable
This commit is contained in:
1 parent
6a36af6865
commit
aade3fccf0
1 file changed
+2
@@ -86,6 +86,7 @@ function App() {
|
||||
|
||||
<section className="app__stats">
|
||||
<InfoBox
|
||||
isRed
|
||||
active={casesType === "cases"}
|
||||
onClick={(e) => setCasesType("cases")}
|
||||
title="Coronavirus Cases"
|
||||
@@ -100,6 +101,7 @@ function App() {
|
||||
total={prettyPrintStat(countryInfo.recovered)}
|
||||
/>
|
||||
<InfoBox
|
||||
isRed
|
||||
active={casesType === "deaths"}
|
||||
onClick={(e) => setCasesType("deaths")}
|
||||
title="Deaths"
|
||||
|
||||
Reference in new issue
Block a user