Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const tableone = props => {
- return (
- <div className="row">
- <div className="col-12">
- <div className="table-responsive">
- <table className="table table-hover" id="dashboard">
- <thead>
- <tr className="text-center">
- <th></th>
- <th scope="col">Recruiter Name
- </th>
- <th scope="col">Number of ID
- </th>
- <th scope="col">Yesterday's Final Score
- </th>
- <th scope="col">Score added today
- </th>
- <th scope="col">Updo Date Final Score
- </th>
- </tr>
- </thead>
- <tbody className="text-center">
- {props.data && props.data.length > 0 && props.data.map((item, key) => {
- return (
- <tr key={key}>
- <td align="center">
- <input type="checkbox"/>
- </td>
- <td>
- {item.name}
- </td>
- <td className="font-weight-bold">{item.noc}</td>
- <td>{item.final}</td>
- <td className="font-weight-bold">{item.today}</td>
- <td className="font-weight-bold">{item.upto}</td>
- </tr>
- )
- })}
- </tbody>
- </table>
- </div>
- </div>
- </div>
- );
- };
- other component.
- const JobsTable = props => {
- return (
- <div className="table-responsive">
- <table className="table table-hover" id="dashboard">
- <thead>
- <tr className="text-center">
- <th scope="col">Technology
- </th>
- <th scope="col">Total Resumes
- </th>
- <th scope="col">Job Title
- </th>
- <th scope="col">Total Score
- </th>
- <th scope="col">Average Score
- </th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- )
- }
- export default JobsTable;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement