From 1bddc876f4c998e070ce37fa368dc650a7695120 Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Sun, 30 Aug 2020 23:12:53 -0400
Subject: cleaned up MainView  a bit.

---
 src/client/views/OverlayView.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/client/views/OverlayView.tsx')

diff --git a/src/client/views/OverlayView.tsx b/src/client/views/OverlayView.tsx
index 5188ab9a8..cc0dd0443 100644
--- a/src/client/views/OverlayView.tsx
+++ b/src/client/views/OverlayView.tsx
@@ -1,6 +1,7 @@
 import { action, computed, observable } from "mobx";
 import { observer } from "mobx-react";
 import * as React from "react";
+import ReactLoading from 'react-loading';
 import { Doc, DocListCast, Opt } from "../../fields/Doc";
 import { Id } from "../../fields/FieldSymbols";
 import { NumCast, Cast } from "../../fields/Types";
@@ -212,6 +213,11 @@ export class OverlayView extends React.Component {
         });
     }
 
+    public static ShowSpinner() {
+        return OverlayView.Instance.addElement(<ReactLoading type="spinningBubbles" color="green" height={250} width={250} />, { x: 300, y: 200 });
+    }
+
+
     render() {
         return (
             <div className="overlayView" id="overlayView">
-- 
cgit v1.2.3-70-g09d2

