Last active
October 30, 2019 05:34
-
-
Save sakukode/ad2abfea525e131599a57bc518d9e824 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