From 4734e2b50ba130cd697dcf58575e9a8477fc49cf Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 9 Apr 2020 16:21:43 +0300 Subject: feat: add live preview page --- src/index.tsx | 79 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 64 insertions(+), 15 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index be76722..e440746 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -38,6 +38,7 @@ const headerContents = { 'spacevim': null, 'material-ui': null, 'custom': null, + 'live preview': null, }; const pageMap: Record = { @@ -64,8 +65,11 @@ const CustomPage: React.FC = () => {

-

+ { + (page === 'live preview') ? + + : + <> + +

+ +

+ + } -- cgit v1.2.3