var coconut_react__$Renderable_Wrapper = function(props) { React_Component.call(this,props); this.state = { view : tink_state__$Observable_Observable_$Impl_$.get_value(props.rendered)}; }
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)
function (_super) { __extends(Login, _super); function Login() { var _this = _super.call(this) || this; _this._showSignup = function () { _this.setState({ showSignup: !_this.state.showSignup });
function (_super) { __extends(TodoItem, _super); function TodoItem(props) { var _this = _super.call(this, props) || this; _this.state = { editText: _this.props.todo.title }; return _this;
var _this; _this = _Component.call(this, props) || this; _this.state = { previousLocation: _this.isLoaded() ? null : props.location
function (_super) { __extends(HomeView, _super); function HomeView() { var _this = _super.call(this) || this; _this.state = { loaded: false }; return _this;