{"size": 257, "ext": "js", "max_stars_repo_path": "JS Applications/14. Teamwork Project/ReactBlog/src/components/Comments/Comment.js", "max_stars_repo_name": "Kalo7o/Softuni", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "JS Applications/14. Teamwork Project/ReactBlog/src/components/Comments/Comment.js", "max_issues_repo_name": "Kalo7o/Softuni", "max_issues_repo_issues_event_min_datetime": "2021-05-08T22:24:24.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T10:29:53.000Z", "max_forks_repo_path": "JS Applications/14. Teamwork Project/ReactBlog/src/components/Comments/Comment.js", "max_forks_repo_name": "Kalo7o/Softuni", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 25.7, "max_line_length": 48, "alphanum_fraction": 0.560311284}
import React, {Component} from 'react';

export default class Comment extends Component {
    render() {
        return <div className="comment">
            <p>{this.props.text}</p>
            <span>by {this.props.author}</span>
            </div>
    }
}