aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Spinner.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Spinner.js')
-rw-r--r--vnext/src/components/Spinner.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js
new file mode 100644
index 00000000..10a247f9
--- /dev/null
+++ b/vnext/src/components/Spinner.js
@@ -0,0 +1,15 @@
+import React from 'react';
+
+import Icon from './Icon';
+
+export default function Spinner(props) {
+ return (
+ <div id="content" style={centeredStyle}><Icon name="ei-spinner" size="m" /></div>
+ )
+}
+
+const centeredStyle = {
+ display: 'flex',
+ justifyContent: 'center',
+ alignItems: 'center'
+} \ No newline at end of file