{"size": 453, "ext": "js", "max_stars_repo_path": "Frontend/src/components/commons/button.js", "max_stars_repo_name": "JERISHJRY/herokuUpdate", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Frontend/src/components/commons/button.js", "max_issues_repo_name": "JERISHJRY/herokuUpdate", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Frontend/src/components/commons/button.js", "max_forks_repo_name": "JERISHJRY/herokuUpdate", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.5909090909, "max_line_length": 60, "alphanum_fraction": 0.6247240618}
import React from "react";

const Button = (props) => {
  const iconToDisplay = props.iconToDisplay;
  const buttonLabel = props.buttonLabel;
  const handleClick = props.handleClick;
  const className = props.className;

  return (
    <>
      <button
        className={`btn btn-default btnMargin ${className}`}
        onClick={handleClick}
      >
        {iconToDisplay}
        {buttonLabel}
      </button>
    </>
  );
};
export default Button;
