JSFiddle - React, Tailwind, and code Playground

by paulbau

HTML

<div id="stores">
<h3><a href="#">Store 1</a></h3>
<div>
<table>
    <tr>
        <td><input id="1" type="checkbox" />
            <label for="1">Online</label>
        </td>
        <td>Deli SM5500PP #1</td>
        <td>192.168.1.1</td>
    </tr>
</table>
</div>
</div>

CSS

td {
    padding: 0 0.5em
}

JavaScript

$('#stores').accordion({
    header: "h3", 
    heightStyle: "content", 
    collapsible: true
});

$('#stores input[type=checkbox]').button();