JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/datagrid-groupview.js"></script>
    <div id="p" class="easyui-panel" title="Panel 1" style="width:400px;height:200px;padding:10px;">
        Tes
    </div>

    <div id="p2" class="easyui-panel" title="Panel 2" style="width:400px;height:200px;padding:10px;">
        Tes
    </div>

JavaScript

$('#p').panel('panel').draggable({
    handle: '.panel-header'
});
$('#p2').panel('panel').draggable({
    handle: '.panel-header'
});