Skip to content

Commit

Permalink
Add puzzle for CandidateStatsRow
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Mar 17, 2019
1 parent d088ede commit 82cfcc4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/components/CandidateStatsRow.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from "react"

export function CandidateStatsRow() {
// @todo #1 Implement <CandidateStatsRow /> component
// This component displays how many votes a candidate has received.
return <div>unimplemented</div>
}
7 changes: 6 additions & 1 deletion src/components/KitchenSink.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
import React from "react"
import { PartyStatsRow } from "./PartyStatsRow"
import { CandidateStatsRow } from "./CandidateStatsRow"

export function KitchenSink() {
return (
<section>
<h1>Kitchen Sink</h1>
<h2>Vote</h2>
<h2>PartyStatsRow</h2>
<Example maxWidth={375}>
<PartyStatsRow />
</Example>
<h2>CandidateStatsRow</h2>
<Example maxWidth={375}>
<CandidateStatsRow />
</Example>
</section>
)
}
Expand Down

1 comment on commit 82cfcc4

@0pdd
Copy link

@0pdd 0pdd commented on 82cfcc4 Mar 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 1-db2b4d14 discovered in src/components/CandidateStatsRow.js and submitted as #16. Please, remember that the puzzle was not necessarily added in this particular commit. Maybe it was added earlier, but we discovered it only now.

Please sign in to comment.