inversify-devtools
Version:
inversify-devtools
21 lines (20 loc) • 1.14 kB
JavaScript
;
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require("react");
var panel_1 = require("./panel");
var Playground = (function (_super) {
__extends(Playground, _super);
function Playground(props) {
_super.call(this, props);
}
Playground.prototype.render = function () {
return (React.createElement(panel_1.default, {title: "Playground", subtitle: "Editor", columnSize: this.props.columnSize, height: this.props.height}, React.createElement("div", {className: "customAlert", role: "alert"}, React.createElement("i", {className: "fa fa-info-circle", "aria-hidden": "true"}), "The playground is a sandbox. You can write some code here to try InversifyJS" + ' ' + "without having to set up the a real development environment.")));
};
return Playground;
}(React.Component));
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = Playground;