JSFiddle - React, Tailwind, and code Playground

by ramarajuv

HTML

<link rel="stylesheet" href="http://cdn.sencha.io/extjs/4.1.0.b1/resources/css/ext-all.css">
<script src="http://cdn.sencha.io/extjs/4.1.0.b1/ext-all.js"></script>

JavaScript

Ext.create('Ext.panel.Panel',{
    renderTo : Ext.getBody(),
    id : 'testPanel',
    height : 200,
    width : 200,
    items: [{
        xtype : 'tabpanel',
        activeTab : 1,
        items: [{     
            title: 'tab1',
        },{                  
            title: 'tab2',
        }]
     }]
});