forked from mystiq/hydrogen-web
Move loading view into separate file
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
3fb89a81bc
commit
d64d07aee5
1 changed files with 8 additions and 0 deletions
8
src/platform/web/ui/session/rightpanel/LoadingView.js
Normal file
8
src/platform/web/ui/session/rightpanel/LoadingView.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import {TemplateView} from "../../general/TemplateView.js";
|
||||||
|
import {spinner} from "../../common.js";
|
||||||
|
|
||||||
|
export class LoadingView extends TemplateView {
|
||||||
|
render(t) {
|
||||||
|
return t.div(["Loading ", spinner(t)]);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue