JSFiddle - React, Tailwind, and code Playground

by el_chief

HTML

<link rel="stylesheet" href="//extjs.cachefly.net/ext-4.1.0-gpl/resources/css/ext-all-gray.css" />

JavaScript

Ext.define('Form1', {
    extend:'Ext.form.Panel',
    
    renderTo:Ext.getBody(),
    
    initComponent: function(){
        
        Ext.applyIf(this, {
            title:'asdf',
            
            buttons:[
                {
                    text:'asdf',
                    handler: function(){
                        alert();
                    }
                }
            ],
            
            items:[
                {
                    xtype:'textfield',
                    fieldLabel:'Field Label'
                },
                
            ]
        });
        
        this.callParent(arguments);
    }
});

var form1 = new Form1();