JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>
<input type="checkbox">
<button type="button">
click me
</button>
</td>
</tr>
<tr>
<td>
<input type="checkbox">
<button type="button">
click me
</button>
</td>
</tr>
<tr>
<td>
<input type="checkbox">
<button type="button">
click me
</button>
</td>
</tr>
</table>
CSS
input:checked + button {
display: none;
}