xonecas.io
366
Hc

hirenimble-challenge / files

hirenimble-challenge / src / components / candidatesList.js

655 bytes
1import React from "react";
2import CandidateListContent from "./candidateListContent";
3
4function CandidatesList(props) {
5  console.log(props);
6  const candidates = props.candidates.results;
7
8  return (
9    <table>
10      <thead>
11        <tr>
12          <th>Candidate name</th>
13          <th>Canditate status</th>
14          <th># Applications</th>
15          <th>Last action</th>
16          <th>Scorecard</th>
17          <th>Nimble score</th>
18          <th>notes</th>
19          <th>actions</th>
20        </tr>
21      </thead>
22      <tbody>
23        <CandidateListContent candidates={candidates} />
24      </tbody>
25    </table>
26  );
27}
28
29export default CandidatesList;