Last active
October 30, 2019 00:46
-
-
Save sakukode/75a568d8b5556e095eaf9da3d031d946 to your computer and use it in GitHub Desktop.
This file contains 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 React, { Component } from 'react'; | |
class Table extends Component { | |
render() { | |
return ( | |
<table> | |
<thead> | |
<tr> | |
<th>Nama</th> | |
<th>Pekerjaan</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> | |
<td>Andi</td> | |
<td>Dokter</td> | |
</tr> | |
<tr> | |
<td>Bela</td> | |
<td>Wiraswasta</td> | |
</tr> | |
<tr> | |
<td>Clara</td> | |
<td>Karyawan Bank</td> | |
</tr> | |
</tbody> | |
</table> | |
) | |
} | |
} | |
export default Table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment