{"size": 158, "ext": "js", "max_stars_repo_path": "src/components/DollarDisplay.js", "max_stars_repo_name": "wiebersk/pennies", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/DollarDisplay.js", "max_issues_repo_name": "wiebersk/pennies", "max_issues_repo_issues_event_min_datetime": "2017-05-04T03:06:14.000Z", "max_issues_repo_issues_event_max_datetime": "2017-05-13T04:16:57.000Z", "max_forks_repo_path": "src/components/DollarDisplay.js", "max_forks_repo_name": "wiebersk/pennies", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 15.8, "max_line_length": 44, "alphanum_fraction": 0.6455696203}
import React from "react";

const DollarDisplay = (props) => {
  return (
    <span>$ {props.amount.toFixed(2)}</span>
  );
};

export default DollarDisplay;
