Can develop the component in Histoire with yarn story:dev
Should have voting and highlightedVoteByGroups props which are the same type as described in the Interface VoteCard in src/routes/assemblies/[id]/+page.ts
3 variations from the design depend on voting.result, either if it's DefaultVotingResult.Passed, DefaultVotingResult.Failed, or any string
See Figma file
Starting point
yarn gen:component
yarn story:dev
voting
andhighlightedVoteByGroups
props which are the same type as described in theInterface VoteCard
insrc/routes/assemblies/[id]/+page.ts
voting.result
, either if it'sDefaultVotingResult.Passed
,DefaultVotingResult.Failed
, or anystring