{"size": 414, "ext": "js", "max_stars_repo_path": "src/components/TableRow/TableRow.js", "max_stars_repo_name": "Gio86krt/employeeDirectory", "max_stars_repo_stars_event_min_datetime": "2021-05-03T19:41:04.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-03T19:41:04.000Z", "max_issues_repo_path": "src/components/TableRow/TableRow.js", "max_issues_repo_name": "Gio86krt/employeedirectory", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/TableRow/TableRow.js", "max_forks_repo_name": "Gio86krt/employeedirectory", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.7, "max_line_length": 52, "alphanum_fraction": 0.5579710145}
import React from "react";

function TableRow(props) {
  const { name, email, dob, picture } = props.props;
  const birthDay = dob.date.slice(0, 10);
  return (
    <tr className="tableRow">
      <th scope="row">
        <img src={picture.medium}></img>
      </th>
      <td>{name.first}</td>
      <td>{name.last}</td>
      <td>{email}</td>
      <td>{birthDay}</td>
    </tr>
  );
}

export default TableRow;
