I had a very similar issue with the Flowbite library. What solved it was adding the <tr>
element:
<div className="overflow-x-auto">
<Table striped>
<TableHead>
<tr> {/* ~~~ ADD THIS <TR> ~~~ */}
<TableHeadCell>xxx</TableHeadCell>
...
</tr>
</TableHead>
</Table>
</div>