summaryrefslogtreecommitdiff
path: root/frontend/src/scenes/SplashScreen/components/HomeLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/scenes/SplashScreen/components/HomeLayout.js')
-rw-r--r--frontend/src/scenes/SplashScreen/components/HomeLayout.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontend/src/scenes/SplashScreen/components/HomeLayout.js b/frontend/src/scenes/SplashScreen/components/HomeLayout.js
index 2a3fd856..08029d45 100644
--- a/frontend/src/scenes/SplashScreen/components/HomeLayout.js
+++ b/frontend/src/scenes/SplashScreen/components/HomeLayout.js
@@ -1,12 +1,16 @@
// @flow
-import type { Children } from 'react';
+import type { Node } from 'react';
import React from 'react';
import { Banner } from 'rebass';
import { ErrorToastContainer } from '../../../components/errors/errorToastContainer';
import background from './background-zeus-temple.jpg';
import logo from './logo-7-wonders.png';
-export const HomeLayout = ({ children }: { children: Children }) => (
+export type HomeLayoutProps = {
+ children?: Node,
+}
+
+export const HomeLayout = ({ children }: HomeLayoutProps) => (
<div>
<Banner align="center" backgroundImage={background}>
<img src={logo} alt="Seven Wonders" />
bgstack15