Move loading view into separate file

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-27 15:02:57 +05:30
parent 3fb89a81bc
commit d64d07aee5

View 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)]);
}
}