UNPKG

opds-web-client

Version:
22 lines (21 loc) 865 B
"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 React = require("react"); var styles_1 = require("./styles"); var LoadingIndicator = (function (_super) { __extends(LoadingIndicator, _super); function LoadingIndicator() { _super.apply(this, arguments); } LoadingIndicator.prototype.render = function () { var loadingStyle = styles_1.popupStyle(300); return (React.createElement("h1", {className: "loading", style: loadingStyle}, "Loading")); }; return LoadingIndicator; }(React.Component)); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = LoadingIndicator;