summaryrefslogtreecommitdiff
path: root/src/components/map/LoadingScreen.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-09 10:16:15 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:59 +0200
commitde24c69fe44df73c355a3ec481c7f146778cb4a6 (patch)
tree3fc70b7c303453923f91dc31c67c34208b9127a0 /src/components/map/LoadingScreen.js
parent0c15fdab70d433b6f5338176c3359e7a6ff0ff57 (diff)
Add a loading screen for initial datacenter fetch
Diffstat (limited to 'src/components/map/LoadingScreen.js')
-rw-r--r--src/components/map/LoadingScreen.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/map/LoadingScreen.js b/src/components/map/LoadingScreen.js
new file mode 100644
index 00000000..3d5753e2
--- /dev/null
+++ b/src/components/map/LoadingScreen.js
@@ -0,0 +1,11 @@
+import React from 'react';
+import FontAwesome from "react-fontawesome";
+
+const LoadingScreen = () => (
+ <div className="display-4">
+ <FontAwesome name="refresh" className="mr-4" spin/>
+ Loading your datacenter...
+ </div>
+);
+
+export default LoadingScreen;