{"size": 479, "ext": "js", "max_stars_repo_path": "web/src/components/CalculatorResult.js", "max_stars_repo_name": "rukku/ph-inflation-calculator", "max_stars_repo_stars_event_min_datetime": "2018-09-25T10:03:06.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-01T02:59:48.000Z", "max_issues_repo_path": "web/src/components/CalculatorResult.js", "max_issues_repo_name": "rukku/ph-inflation-calculator", "max_issues_repo_issues_event_min_datetime": "2021-03-02T00:19:14.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-03T22:43:31.000Z", "max_forks_repo_path": "web/src/components/CalculatorResult.js", "max_forks_repo_name": "rukku/ph-inflation-calculator", "max_forks_repo_forks_event_min_datetime": "2020-03-08T12:35:54.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-05T17:05:16.000Z"}
{"max_stars_count": 3, "max_issues_count": 9, "max_forks_count": 2, "avg_line_length": 22.8095238095, "max_line_length": 70, "alphanum_fraction": 0.7286012526}
import React from "react"
import PropTypes from "prop-types"

const CalculatorResult = ({ calculatedAmount, percentageAmount }) => {
  return(
    <div className="CalculatorResult">
      &nbsp;<strong>{calculatedAmount}</strong>
      &nbsp;(<strong>{percentageAmount}%</strong> increase)
    </div>
  )
}

const propTypes = {
  calculatedAmount: PropTypes.string,
  percentageAmount: PropTypes.string,
}

CalculatorResult.propTypes = propTypes

export default CalculatorResult
