JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css">
<div id="divResize" style="width:100px;height:100px;background-color:blue;"></div>

<table id="tblResize1">
    <thead>
        <tr>
            <th width="100px">a</th>
            <th width="100px">b</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
    </tbody>
</table>

<table id="tblResize2">
    <thead>
        <tr>
            <th width="100px">a</th>
            <th width="100px">b</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
        <tr>
            <td>1</td>
            <td>2</td>
        </tr>
    </tbody>
</table>

CSS

thead th {
    border: 1px solid black;
    font-weight: bold;
}

JavaScript

$("#divResize").resizable();
$("#tblResize1").resizable();
$("#tblResize2 th").resizable();