{"size": 421, "ext": "js", "max_stars_repo_path": "resources/assets/js/components/Title.js", "max_stars_repo_name": "yugensoft/biography-finder", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/assets/js/components/Title.js", "max_issues_repo_name": "yugensoft/biography-finder", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/assets/js/components/Title.js", "max_forks_repo_name": "yugensoft/biography-finder", "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": 24.7647058824, "max_line_length": 109, "alphanum_fraction": 0.5748218527}
import React, { Component } from 'react';

/**
 * Top title bar and filter reset button
 * @param reset
 * @returns {XML}
 * @constructor
 */
const Title = ({reset}) => {
    return (
        <div className="title">
            <div><h1>Biography Finder</h1></div>
            <div><button className="btn" onClick={reset}><i className="fas fa-undo"></i> Reset</button></div>
        </div>
    );
};
export default Title;