Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. const tableone = props => {
  2. return (
  3. <div className="row">
  4. <div className="col-12">
  5. <div className="table-responsive">
  6. <table className="table table-hover" id="dashboard">
  7. <thead>
  8. <tr className="text-center">
  9. <th></th>
  10. <th scope="col">Recruiter Name
  11. </th>
  12. <th scope="col">Number of ID
  13. </th>
  14. <th scope="col">Yesterday's Final Score
  15. </th>
  16. <th scope="col">Score added today
  17. </th>
  18. <th scope="col">Updo Date Final Score
  19. </th>
  20. </tr>
  21. </thead>
  22. <tbody className="text-center">
  23. {props.data && props.data.length > 0 && props.data.map((item, key) => {
  24. return (
  25. <tr key={key}>
  26. <td align="center">
  27. <input type="checkbox"/>
  28. </td>
  29. <td>
  30. {item.name}
  31. </td>
  32. <td className="font-weight-bold">{item.noc}</td>
  33. <td>{item.final}</td>
  34. <td className="font-weight-bold">{item.today}</td>
  35. <td className="font-weight-bold">{item.upto}</td>
  36. </tr>
  37. )
  38. })}
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. </div>
  44. );
  45. };
  46.  
  47. other component.
  48.  
  49. const JobsTable = props => {
  50. return (
  51. <div className="table-responsive">
  52. <table className="table table-hover" id="dashboard">
  53. <thead>
  54. <tr className="text-center">
  55. <th scope="col">Technology
  56. </th>
  57. <th scope="col">Total Resumes
  58. </th>
  59. <th scope="col">Job Title
  60. </th>
  61. <th scope="col">Total Score
  62. </th>
  63. <th scope="col">Average Score
  64. </th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68.  
  69. </tbody>
  70. </table>
  71. </div>
  72. )
  73. }
  74.  
  75. export default JobsTable;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement