JSFiddle - React, Tailwind, and code Playground
JavaScript
var Control = require('enyo/Control');
new Control({
components: [
{name: 'hello', content: 'Hello From Enyo', ontap: 'helloTap'},
{tag: 'hr'}
],
helloTap: function () {
this.$.hello.addStyles('color: red');
}
}).renderInto(document.body);