all files / containers/App/ index.tsx

70.37% Statements 19/27
53.85% Branches 7/13
83.33% Functions 5/6
78.26% Lines 18/23
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32                           
"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 __assign = (this && this.__assign) || Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
        s = arguments[i];
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
            t[p] = s[p];
    }
    return t;
};
var appConfig = require('../../../../config/main');
var React = require('react');
var Helmet = require('react-helmet');
var components_1 = require('../../components');
var App = (function (_super) {
    __extends(App, _super);
    function App() {
        _super.apply(this, arguments);
    }
    App.prototype.render = function () {
        var s = require('./style.css');
        return (React.createElement("section", {className: s.appContainer}, React.createElement(Helmet, __assign({}, appConfig.app, appConfig.app.head)), React.createElement(components_1.Header, null), this.props.children));
    };
    return App;
}(React.Component));
exports.App = App;