{"size": 260, "ext": "js", "max_stars_repo_path": "static/js/components/CloseButton.js", "max_stars_repo_name": "mitodl/open-discussions", "max_stars_repo_stars_event_min_datetime": "2017-09-27T21:23:27.000Z", "max_stars_repo_stars_event_max_datetime": "2020-12-25T04:31:30.000Z", "max_issues_repo_path": "static/js/components/CloseButton.js", "max_issues_repo_name": "mitodl/open-discussions", "max_issues_repo_issues_event_min_datetime": "2017-06-30T18:16:01.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T18:01:34.000Z", "max_forks_repo_path": "static/js/components/CloseButton.js", "max_forks_repo_name": "mitodl/open-discussions", "max_forks_repo_forks_event_min_datetime": "2020-04-13T12:19:57.000Z", "max_forks_repo_forks_event_max_datetime": "2020-04-13T12:19:57.000Z"}
{"max_stars_count": 12, "max_issues_count": 3293, "max_forks_count": 1, "avg_line_length": 17.3333333333, "max_line_length": 50, "alphanum_fraction": 0.6692307692}
// @flow
import React from "react"

type Props = {
  onClick: Function
}

const CloseButton = ({ onClick }: Props) => (
  <div className="close-button" onClick={onClick}>
    <i className="material-icons clear">clear</i>
  </div>
)

export default CloseButton
