1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | extendStatics(d, b);
|
11 | function __() { this.constructor = d; }
|
12 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
13 | };
|
14 | })();
|
15 | Object.defineProperty(exports, "__esModule", { value: true });
|
16 | var React = require("react");
|
17 | var HeadingsModule_1 = require("./HeadingsModule");
|
18 | var H1 = HeadingsModule_1.default.H1, H2 = HeadingsModule_1.default.H2, H3 = HeadingsModule_1.default.H3, H5 = HeadingsModule_1.default.H5;
|
19 | var Title = (function (_super) {
|
20 | __extends(Title, _super);
|
21 | function Title() {
|
22 | var _this = _super !== null && _super.apply(this, arguments) || this;
|
23 | _this.render = function () { return _this.props.children; };
|
24 | return _this;
|
25 | }
|
26 | Title.H1 = H1;
|
27 | Title.H2 = H2;
|
28 | Title.H3 = H3;
|
29 | Title.H5 = H5;
|
30 | return Title;
|
31 | }(React.PureComponent));
|
32 | exports.default = Title;
|
33 |
|
\ | No newline at end of file |