Sfoglia il codice sorgente

style: add BlankLayout default style

chenshuai2144 6 anni fa
parent
commit
5e8f54cc6d
1 ha cambiato i file con 10 aggiunte e 1 eliminazioni
  1. 10 1
      src/layouts/BlankLayout.tsx

+ 10 - 1
src/layouts/BlankLayout.tsx

@@ -1,5 +1,14 @@
 import React from 'react';
 import React from 'react';
 
 
-const Layout: React.FC = ({ children }) => <div>{children}</div>;
+const Layout: React.FC = ({ children }) => (
+  <div
+    style={{
+      width: '100vh',
+      height: '100vh',
+    }}
+  >
+    {children}
+  </div>
+);
 
 
 export default Layout;
 export default Layout;