Skip to content

Instantly share code, notes, and snippets.

@sakukode
Last active October 30, 2019 00:46
Show Gist options
  • Save sakukode/75a568d8b5556e095eaf9da3d031d946 to your computer and use it in GitHub Desktop.
Save sakukode/75a568d8b5556e095eaf9da3d031d946 to your computer and use it in GitHub Desktop.
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