aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Spinner.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-16 18:37:01 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commit683bd826dfc3885a8f15f9db4e0a8af7f158c967 (patch)
tree6400e380b30a2686b38fd323250cf3c6ce5ee68a /vnext/src/components/Spinner.js
parentc754cbba643d7ea1e6312c685f4b321ab5efba6b (diff)
loadReplies
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