UNPKG

react-web-native-sketch

Version:

[TODO: We need an overview of how this can be used via npm vs as a local package]

31 lines 1.42 kB
"use strict"; /** * Created by alexbuicescu on 19 - Mar 2018. */ var __extends = (this && this.__extends) || (function () { var 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 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 react_native_1 = require("react-native"); var theme_1 = require("../..//utils/theme"); var CircularProgressComponent = /** @class */ (function (_super) { __extends(CircularProgressComponent, _super); function CircularProgressComponent() { return _super !== null && _super.apply(this, arguments) || this; } CircularProgressComponent.prototype.render = function () { var style = this.props.style; return (React.createElement(react_native_1.ActivityIndicator, { style: style, size: 'large', color: theme_1.appTheme.primaryColor })); }; return CircularProgressComponent; }(React.PureComponent)); exports.CircularProgressComponent = CircularProgressComponent; //# sourceMappingURL=CircularProgressComponent.native.js.map