JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>
hi
</td>
<td>
hello
</td>
</tr>
</table>
CSS
table {
border-collapse:separate;
border-spacing:10px 10px;
}
td {
background-color: #eee;
margin: 5px;
padding: 5px;
}