{"size": 297, "ext": "js", "max_stars_repo_path": "client/src/components/UserInfo.js", "max_stars_repo_name": "praveendivekar/GraphQL-react", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/components/UserInfo.js", "max_issues_repo_name": "praveendivekar/GraphQL-react", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/components/UserInfo.js", "max_forks_repo_name": "praveendivekar/GraphQL-react", "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": 29.7, "max_line_length": 88, "alphanum_fraction": 0.6262626263}
import React from 'react';

const UserInfo = (props) => {
    return <div className="user__info">
        <p className="user__row"><span>Email: {props.email}</span></p>
        <p className="user__row"><span>Department: {props.department}</span></p>        
    </div>;
}

export default UserInfo;