Skip to content

Instantly share code, notes, and snippets.

@FBosler
Created February 6, 2020 07:58
Show Gist options
  • Save FBosler/8577f5161fc5d3092279644885290fec to your computer and use it in GitHub Desktop.
Save FBosler/8577f5161fc5d3092279644885290fec to your computer and use it in GitHub Desktop.
Changes to Milestones component
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