UNPKG

inversify-devtools

Version:
20 lines (19 loc) 790 B
"use strict"; 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 Tip = (function (_super) { __extends(Tip, _super); function Tip(props) { _super.call(this, props); } Tip.prototype.render = function () { return (React.createElement("div", {className: "customAlert", role: "alert"}, React.createElement("i", {className: "fa fa-info-circle", "aria-hidden": "true"}), this.props.children)); }; return Tip; }(React.Component)); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = Tip;