function (_super) { __extends(NotFoundView, _super); function NotFoundView() { return _super !== null && _super.apply(this, arguments) || this; } NotFoundView.prototype.render = function () { return React.createElement("div", null, React.createElement("div", null, React.createElement(react_router_dom_1.Link, { to: "/" }, "Home")), React.createElement("h2", null, "404"), React.createElement("h3", null, "Page not found")); }; return NotFoundView; }(React.Component)
function (_super) { __extends(AboutView, _super); function AboutView() { var _this = _super.call(this) || this; _this.state = { loaded: false }; return _this; } AboutView.prototype.componentDidMount = function () { this.setState({ loaded: true }); }; AboutView.prototype.render = function () { var loading = this.state.loaded ? "" : " (loading...)"; return React.createElement("div", null, React.createElement("div", null, React.createElement(react_router_dom_1.Link, { to: "/" }, "Home")), React.createElement("h2", null, "About ", loading), React.createElement("p", null, "This project includes a working example of React, React Router, Ant Design Components and TypeScript.")); }; return AboutView; }(React.Component)
React.createElement("br", null), React.createElement("br", null), React.createElement(react_router_dom_1.Link, { to: "/about" }, "About"), React.createElement(react_router_dom_1.Link, { to: "/notfound" }, "Page Not Found"))), React.createElement(antd_1.Row, null, React.createElement(antd_1.Col, { span: 12 },