-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix | Include missing dependencies needed for refactor
- Loading branch information
1 parent
7e3ec69
commit 5965ec3
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import React from "react"; | ||
import RankingLegend from "./RankingLegend"; | ||
|
||
const Filter = ({ | ||
currentFilters, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from "react"; | ||
|
||
const RankingLegend = () => { | ||
return ( | ||
<div className="filter-key"> | ||
<h4>Map Key by Percentile</h4> | ||
<ul> | ||
<li> | ||
<span className="percentile-text">0-19%</span> | ||
<span className="color-key one"></span> | ||
</li> | ||
<li> | ||
<span className="percentile-text">20-39%</span> | ||
<span className="color-key two"></span> | ||
</li> | ||
<li> | ||
<span className="percentile-text">40-59%</span> | ||
<span className="color-key three"></span> | ||
</li> | ||
<li> | ||
<span className="percentile-text">60-79%</span> | ||
<span className="color-key four"></span> | ||
</li> | ||
<li> | ||
<span className="percentile-text">80-99%</span> | ||
<span className="color-key five"></span> | ||
</li> | ||
</ul> | ||
</div> | ||
); | ||
}; | ||
|
||
|
||
export default RankingLegend; |