{"size": 498, "ext": "js", "max_stars_repo_path": "client/src/components/whiteboard/ClearCanvasButton.js", "max_stars_repo_name": "Jonathancui123/CodePals", "max_stars_repo_stars_event_min_datetime": "2021-03-15T18:16:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-15T18:16:37.000Z", "max_issues_repo_path": "client/src/components/whiteboard/ClearCanvasButton.js", "max_issues_repo_name": "YashArora0606/Ohana", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/components/whiteboard/ClearCanvasButton.js", "max_forks_repo_name": "YashArora0606/Ohana", "max_forks_repo_forks_event_min_datetime": "2021-03-14T02:14:02.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-14T02:14:02.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 21.652173913, "max_line_length": 69, "alphanum_fraction": 0.5742971888}
import React from 'react'

import ClearLogo from "../../layouts/clear.png"

import './ClearCanvasButton.css'

class ClearCanvasButton extends React.Component {
    render() {
        const { clearCanvas } = this.props

        return (
            <button
                className="clearCanvasButton"
                onClick={clearCanvas}
            >
                <img className="clearButton" src={ClearLogo} fluid />
            </button>
        )
    }
}

export default ClearCanvasButton
