UNPKG

react-life-design

Version:
33 lines 1.32 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var HeadingsModule_1 = require("./HeadingsModule"); var H1 = HeadingsModule_1.default.H1, H2 = HeadingsModule_1.default.H2, H3 = HeadingsModule_1.default.H3, H5 = HeadingsModule_1.default.H5; var Title = (function (_super) { __extends(Title, _super); function Title() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.render = function () { return _this.props.children; }; return _this; } Title.H1 = H1; Title.H2 = H2; Title.H3 = H3; Title.H5 = H5; return Title; }(React.PureComponent)); exports.default = Title; //# sourceMappingURL=Title.js.map