Created
February 6, 2020 07:58
-
-
Save FBosler/8577f5161fc5d3092279644885290fec to your computer and use it in GitHub Desktop.
Changes to Milestones component
This file contains hidden or 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
const Milestones = props => { | |
const referrals = props.referrals || 0; | |
return ( | |
<div style={{ padding: "25px" }}> | |
<Row> | |
{milestoneList.map(function(item) { | |
return ( | |
<Col xs={12} sm={6} md={4}> | |
{Milestone(item.imageLocation, item.lowerThreshold, item.upperThreshold, referrals)} | |
</Col> | |
); | |
})} | |
</Row> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment