UNPKG

simplr-loaders

Version:

React CSS loaders with no prerequisites for required styles loading.

1 lines 1.06 kB
"use strict";var __extends=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function a(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(a.prototype=r.prototype,new a)}}();Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react"),bubble_loader_style_1=require("./bubble-loader-style"),loader_base_1=require("../abstractions/loader-base"),BubbleLoader=function(e){function t(t,r){var a=e.call(this,t,r)||this;return a.LoaderId="bubble-loader",a.AppendStyles(bubble_loader_style_1.BubbleLoaderStyle,t),a}return __extends(t,e),t.prototype.render=function(){return React.createElement("div",{className:this.AggregatedClassName},React.createElement("div",{className:"bounce bounce1"}),React.createElement("div",{className:"bounce bounce2"}),React.createElement("div",{className:"bounce bounce3"}))},t}(loader_base_1.LoaderBase);exports.BubbleLoader=BubbleLoader;