From d793cc8f85fc1d45b6d98a7ae52fd8e99a885f14 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 18 Sep 2018 15:41:19 +0300 Subject: LoadingView --- vnext/src/index.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'vnext/src/index.js') diff --git a/vnext/src/index.js b/vnext/src/index.js index 74e36d84..1180d303 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -2,9 +2,30 @@ import React from 'react'; import ReactDOM from 'react-dom'; import Loadable from 'react-loadable'; +function LoadingView(props) { + return ( +
+ +
+
+ ); +} + const Juick = Loadable({ loader: () => import('./App'), - loading: () =>
Loading...
+ loading: LoadingView }); const JuickApp = () => ( -- cgit v1.2.3