JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.min.js"></script>
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<div class="easyui-layout" style="height:100px">
  <div region="west" style="width:200px;background:pink"></div>
  <div region="center" style="width:200px;background:yellow"></div>
</div>

<div class="easyui-layout" style="height:100px">
  <div region="west" style="width:200px;background:pink"></div>
  <div region="center" style="width:200px;background:yellow"></div>
  <div region="east" style="background:gray" data-options="
      onResize: function(width){
        var layout = $(this).panel('panel').parent();
      
        var w = layout.width()-200-200;
        if (width != w){
          $(this).panel('options').width = w;
          layout.layout('resize');
        }
      }
      "></div>
</div>