Created
April 17, 2021 13:07
-
-
Save AbhiAgarwal192/78ed26010aa6873b5f4fce65cb2e7d7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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