This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Successfully listing summaries, refs #4
- Loading branch information
Genar Trias Ortiz
committed
Dec 7, 2017
1 parent
32d2b68
commit dbdb559
Showing
4 changed files
with
32 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import PropTypes from 'prop-types' | ||
import React, { Component } from 'react' | ||
|
||
export default class SummaryRow extends Component { | ||
static propTypes = { | ||
summary: PropTypes.object.isRequired, | ||
} | ||
|
||
render() { | ||
const { summary } = this.props | ||
return ( | ||
<div className='summary-row'> | ||
<ul> | ||
<li> | ||
{ summary.exchange }: { summary.benfit } | ||
</li> | ||
</ul> | ||
</div> | ||
) | ||
} | ||
} |
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
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