"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _element = require("@wordpress/element");
var _reactNative = require("react-native");
var _compose = require("@wordpress/compose");
var _styles = _interopRequireDefault(require("./styles.scss"));
/**
 * External dependencies
 */

/**
 * WordPress dependencies
 */

/**
 * Internal dependencies
 */

const EmbedLoading = () => {
  const style = (0, _compose.usePreferredColorSchemeStyle)(_styles.default['embed-preview__loading'], _styles.default['embed-preview__loading--dark']);
  return (0, _element.createElement)(_reactNative.View, {
    style: style
  }, (0, _element.createElement)(_reactNative.ActivityIndicator, {
    animating: true
  }));
};
var _default = EmbedLoading;
exports.default = _default;
//# sourceMappingURL=embed-loading.native.js.map