Skip to content

Instantly share code, notes, and snippets.

@AbhiAgarwal192
Created April 17, 2021 13:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AbhiAgarwal192/78ed26010aa6873b5f4fce65cb2e7d7d to your computer and use it in GitHub Desktop.
Save AbhiAgarwal192/78ed26010aa6873b5f4fce65cb2e7d7d to your computer and use it in GitHub Desktop.
import { Component } from "react"
import './Table.css';
class TableComponent extends Component{
render(){
return(
<div>
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Dell</td>
<td>Abhi Agarwal</td>
<td>India</td>
</tr>
<tr>
<td>Accenture</td>
<td>Abhishek Singh</td>
<td>India</td>
</tr>
<tr>
<td>Ericsson</td>
<td>Abhishek Patel</td>
<td>India</td>
</tr>
<tr>
<td>Uber</td>
<td>Sukesh Kumar</td>
<td>US</td>
</tr>
<tr>
<td>Zomato</td>
<td>Anant Gupta</td>
<td>India</td>
</tr>
<tr>
<td>TCS</td>
<td>Ankit Jitani</td>
<td>US</td>
</tr>
</table>
</div>
);
}
}
export default TableComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment