electinth/politician-directory

Create a legend component

puripant opened this issue · 0 comments

Both voteLogCard and votelog-template use the same legend in different contexts. The former uses it in the bottom of each card and the latter uses it under the waffle chart.

In voteLogCard:
Screen Shot 2019-11-17 at 16 25 42

In votelog-template:
Screen Shot 2019-11-17 at 16 27 57

Although they currently look the same, per the designs in InVision, they are actually different. The new legend component should allow some customizations.