summaryrefslogtreecommitdiff
path: root/app/client/common/loading.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-04 03:52:59 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-04 03:52:59 +0200
commit57726902fe70f6c051c20f7104a9b78687c15479 (patch)
tree50e70dc944f96f5466b785a70ed330bb647368d0 /app/client/common/loading.component.js
parent94f083788d58bccb09f775ef731827d29d719d43 (diff)
progress barz
Diffstat (limited to 'app/client/common/loading.component.js')
-rw-r--r--app/client/common/loading.component.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/client/common/loading.component.js b/app/client/common/loading.component.js
new file mode 100644
index 0000000..f8033db
--- /dev/null
+++ b/app/client/common/loading.component.js
@@ -0,0 +1,12 @@
+import { h, Component } from 'preact'
+
+import Progress from './progress.component'
+
+export default function Loading({progress}) {
+ return (
+ <div className='loading'>
+ Loading<br/>
+ <Progress progress={progress} />
+ </div>
+ )
+}