"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Loading = Loading;

var _reactLoadingIcons = require("react-loading-icons");

var _jsxRuntime = require("react/jsx-runtime");

function Loading(_ref) {
  var _ref$text = _ref.text,
      text = _ref$text === void 0 ? "Loading..." : _ref$text;
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
    className: "flex justify-center items-center",
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactLoadingIcons.Oval, {
      stroke: "gray",
      height: "1.5em"
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
      className: "text-sm ml-3",
      children: text
    })]
  });
}