"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = LoadingIndicator;
var _reactNative = require("react-native");
var _styles = require("./styles");
function LoadingIndicator({
  propStyle,
  size = 20,
  color = 'gray'
}) {
  let style = _styles.styles.container;
  if (propStyle !== undefined) {
    style = [_styles.styles.container, propStyle];
  }
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: style
  }, /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
    size: size,
    color: color
  }));
}
//# sourceMappingURL=index.js.map