JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<tr>
<td>Row with checked input</td>
<td><input type=checkbox checked /><span>should show.</span></td>
</tr>
<tr>
<td>Row with unchecked input</td>
<td><input type=checkbox /><span>should be hidden.</span></td>
</tr>
</table>
CSS
input:not(:checked) + span { display:none; }